diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-03-27 21:34:16 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-28 11:44:33 -0700 |
| commit | 82b160f1d9a2bb83b9fe18f4fd36bb9c9e85a365 (patch) | |
| tree | 1399b2f833f67024a9ac94fed19d1a38e61df333 | |
| parent | a0a114361758cd07143c6d960dde311479e79d27 (diff) | |
| download | meta-openembedded-82b160f1d9a2bb83b9fe18f4fd36bb9c9e85a365.tar.gz | |
microsoft-gsl: Disable disabled-macro-expansion warning as error on clang/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb index 7fc31486f8..6e29b2459d 100644 --- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb +++ b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb | |||
| @@ -28,6 +28,8 @@ PACKAGECONFIG[ptest] = "-DGSL_TEST=ON,-DGSL_TEST=OFF,googletest" | |||
| 28 | 28 | ||
| 29 | # clang disagrees with https://github.com/google/googletest/pull/3457 | 29 | # clang disagrees with https://github.com/google/googletest/pull/3457 |
| 30 | CXXFLAGS:append:toolchain-clang = " -Wno-error=switch-default" | 30 | CXXFLAGS:append:toolchain-clang = " -Wno-error=switch-default" |
| 31 | # Disable disabled-macro-expansion warning as error as its seen on musl | ||
| 32 | CXXFLAGS:append:toolchain-clang:libc-musl = " -Wno-error=disabled-macro-expansion" | ||
| 31 | 33 | ||
| 32 | do_install_ptest() { | 34 | do_install_ptest() { |
| 33 | install -d ${D}${bindir} | 35 | install -d ${D}${bindir} |
