From: Ross Burton Date: Fri, 6 Jan 2023 16:16:21 +0000 (+0000) Subject: elfutils: disable deprecation errors in all builds, not just native X-Git-Tag: 2023-04-mickledore~838 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ddce0cdbda4efe65f59a04ecb999e9fd3f82a4;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git elfutils: disable deprecation errors in all builds, not just native The curl-related deprecation errors affect all builds not just native, so set CFLAGS instead of BUILD_CFLAGS. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/elfutils/elfutils_0.188.bb b/meta/recipes-devtools/elfutils/elfutils_0.188.bb index c94e36071cd..084908a38c0 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.188.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.188.bb @@ -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"