From: Alexander Kanavin Date: Wed, 4 Jan 2023 11:05:46 +0000 (+0100) Subject: elfutils: do not error out on deprecated declarations X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2044 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a12834052fc622eb22eab2dc77fe717a4263ecf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git elfutils: do not error out on deprecated declarations This addresses new curl's deprecation warnings treated as failures. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni 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 43f5b2e56c3..c94e36071cd 100644 --- a/meta/recipes-devtools/elfutils/elfutils_0.188.bb +++ b/meta/recipes-devtools/elfutils/elfutils_0.188.bb @@ -33,6 +33,8 @@ inherit autotools gettext ptest pkgconfig 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" DEPENDS_BZIP2 = "bzip2-replacement-native" DEPENDS_BZIP2:class-target = "bzip2"