From 585b2f6a94d004ee9733076c6f7bec83e6d6b713 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 6 Jan 2023 16:16:21 +0000 Subject: [PATCH] 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. (From OE-Core rev: 64ddce0cdbda4efe65f59a04ecb999e9fd3f82a4) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/elfutils/elfutils_0.188.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/elfutils/elfutils_0.188.bb b/meta/recipes-devtools/elfutils/elfutils_0.188.bb index c94e36071c..084908a38c 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"