mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
microsoft-gsl: Disable disabled-macro-expansion warning as error on clang/musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -28,6 +28,8 @@ PACKAGECONFIG[ptest] = "-DGSL_TEST=ON,-DGSL_TEST=OFF,googletest"
|
||||
|
||||
# clang disagrees with https://github.com/google/googletest/pull/3457
|
||||
CXXFLAGS:append:toolchain-clang = " -Wno-error=switch-default"
|
||||
# Disable disabled-macro-expansion warning as error as its seen on musl
|
||||
CXXFLAGS:append:toolchain-clang:libc-musl = " -Wno-error=disabled-macro-expansion"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${bindir}
|
||||
|
||||
Reference in New Issue
Block a user