elfutils: do not error out on deprecated declarations

This addresses new curl's deprecation warnings treated as failures.

(From OE-Core rev: 7a12834052fc622eb22eab2dc77fe717a4263ecf)

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>
This commit is contained in:
Alexander Kanavin
2023-01-04 12:05:46 +01:00
committed by Richard Purdie
parent fdc89cbd3f
commit 9b044671a2

View 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"