mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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 <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6ae68314b6
commit
585b2f6a94
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user