]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
elfutils: disable deprecation errors in all builds, not just native
authorRoss Burton <ross.burton@arm.com>
Fri, 6 Jan 2023 16:16:21 +0000 (16:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jan 2023 10:57:41 +0000 (10:57 +0000)
The curl-related deprecation errors affect all builds not just native,
so set CFLAGS instead of BUILD_CFLAGS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.188.bb

index c94e36071cdc55da31cf748152c28d3873a08d84..084908a38c0fcf35b03f4dfc20ead918c7b7d7de 100644 (file)
@@ -34,7 +34,7 @@ EXTRA_OECONF = "--program-prefix=eu-"
 
 BUILD_CFLAGS += "-Wno-error=stringop-overflow"
 # compatibility with curl 7.87; can be removed when elfutils upstream fixes the deprecation fails
-BUILD_CFLAGS += "-Wno-error=deprecated-declarations"
+CFLAGS:append = " -Wno-error=deprecated-declarations"
 
 DEPENDS_BZIP2 = "bzip2-replacement-native"
 DEPENDS_BZIP2:class-target = "bzip2"