diff options
author | Ross Burton <ross.burton@arm.com> | 2023-01-06 16:16:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-11 10:57:41 +0000 |
commit | 64ddce0cdbda4efe65f59a04ecb999e9fd3f82a4 (patch) | |
tree | 5f9ba89082972d4465f8b6bfd3dc1333f192d0b7 /meta/recipes-devtools | |
parent | d65729748253eaa640333198ca8aec05946cb9e8 (diff) | |
download | openembedded-core-contrib-64ddce0cdbda4efe65f59a04ecb999e9fd3f82a4.tar.gz |
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.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils_0.188.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" |