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-31 13:42:54 -0700 |
| commit | ea071cfc136b7b45186f1c6ed80d5732cee234c2 (patch) | |
| tree | 6dd0962febf2bba8b87a8c4ddd8ba5e29aa9c2c5 /meta-oe | |
| parent | b29e413d92135ba2d25ed53cea09e45a596f4bf1 (diff) | |
| download | meta-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.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} |
