]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
elfutils: do not error out on deprecated declarations
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 4 Jan 2023 11:05:46 +0000 (12:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jan 2023 12:03:32 +0000 (12:03 +0000)
This addresses new curl's deprecation warnings treated as failures.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.188.bb

index 43f5b2e56c3fa16396fb53580a46f69258b9eeff..c94e36071cdc55da31cf748152c28d3873a08d84 100644 (file)
@@ -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"