diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index e8544b44b..39aa9d50e 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -20,6 +20,8 @@ TOOLCHAIN:pn-grub:aarch64 = "gcc" TOOLCHAIN:pn-crash = "gcc" # See https://github.com/llvm/llvm-project/issues/71925 LIBCPLUSPLUS:pn-elfutils:toolchain-clang = "-stdlib=libstdc++" +# Remove it once https://lore.kernel.org/openembedded-core/20240319104830.1685335-1-jose.quaresma@foundries.io/T/#u is merged +CXXFLAGS:append:pn-elfutils:toolchain-clang = " -Wno-error=unused-const-variable" #| erl_bits.c:(.text+0xc2a): undefined reference to `__extendhfsf2' #| erl_bits.c:(.text+0x1bfa): undefined reference to `__truncsfhf2' #| clang-15: error: linker command failed with exit code 1 (use -v to see invocation)