diff mbox series

[meta-xfce,1/2] imsettings: Disable two warnings with clang

Message ID 20250704023856.3131843-1-raj.khem@gmail.com
State New
Headers show
Series [meta-xfce,1/2] imsettings: Disable two warnings with clang | expand

Commit Message

Khem Raj July 4, 2025, 2:38 a.m. UTC
clang is fussy and this package is old. It should perhaps
be removed but this keeps it going so let it be.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-xfce/recipes-extended/imsettings/imsettings_1.8.10.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-xfce/recipes-extended/imsettings/imsettings_1.8.10.bb b/meta-xfce/recipes-extended/imsettings/imsettings_1.8.10.bb
index 59de3b3a08..6daf1f57b1 100644
--- a/meta-xfce/recipes-extended/imsettings/imsettings_1.8.10.bb
+++ b/meta-xfce/recipes-extended/imsettings/imsettings_1.8.10.bb
@@ -31,6 +31,7 @@  EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
                 --disable-static \
                "
 
+CFLAGS:append:toolchain-clang = " -Wno-error=unused-function -Wno-error=single-bit-bitfield-constant-conversion"
 PACKAGECONFIG ??= "xfce"
 PACKAGECONFIG[xfce] = ",,xfconf"
 PACKAGECONFIG[xim] = ",,libgxim"