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.k...@gmail.com>
---
 meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc 
b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
index 72005636ea..04e4227915 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
+++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
@@ -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
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108456): 
https://lists.openembedded.org/g/openembedded-devel/message/108456
Mute This Topic: https://lists.openembedded.org/mt/103970633/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to