mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
vk-gl-cts: Disable Werror on amber external module
When compiling with clang-18 it finds more warnings which becomes errors
so disable the warnings as errors in this module for now.
Fixes
/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/opengl-es-cts/3.2.9.3/git/external/amber/src/src/engine.cc:35:3: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
35 | switch (type) {
| ^
1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -41,7 +41,7 @@ SRC_URI:append:toolchain-clang = "\
|
||||
file://fix-clang-private-operator.patch \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols"
|
||||
EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols -DAMBER_DISABLE_WERROR=ON"
|
||||
|
||||
# The best thing for the user to do is to not specify any of the following
|
||||
# PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own
|
||||
|
||||
Reference in New Issue
Block a user