diff options
-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} |