summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-03-27 21:34:16 -0700
committerKhem Raj <raj.khem@gmail.com>2024-03-31 13:42:54 -0700
commitea071cfc136b7b45186f1c6ed80d5732cee234c2 (patch)
tree6dd0962febf2bba8b87a8c4ddd8ba5e29aa9c2c5 /meta-oe
parentb29e413d92135ba2d25ed53cea09e45a596f4bf1 (diff)
downloadmeta-openembedded-ea071cfc136b7b45186f1c6ed80d5732cee234c2.tar.gz
microsoft-gsl: Disable disabled-macro-expansion warning as error on clang/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb2
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
30CXXFLAGS:append:toolchain-clang = " -Wno-error=switch-default" 30CXXFLAGS:append:toolchain-clang = " -Wno-error=switch-default"
31# Disable disabled-macro-expansion warning as error as its seen on musl
32CXXFLAGS:append:toolchain-clang:libc-musl = " -Wno-error=disabled-macro-expansion"
31 33
32do_install_ptest() { 34do_install_ptest() {
33 install -d ${D}${bindir} 35 install -d ${D}${bindir}