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:58:36 +0000 |
| commit | 585b2f6a94d004ee9733076c6f7bec83e6d6b713 (patch) | |
| tree | e983db289fd507a2e17d36eaa2ee43d0d4ffb90e /meta/recipes-devtools/elfutils | |
| parent | 6ae68314b623340b1d16e47b8cffef85b7cc28a8 (diff) | |
| download | poky-585b2f6a94d004ee9733076c6f7bec83e6d6b713.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.
(From OE-Core rev: 64ddce0cdbda4efe65f59a04ecb999e9fd3f82a4)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
| -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-" | |||
| 34 | 34 | ||
| 35 | BUILD_CFLAGS += "-Wno-error=stringop-overflow" | 35 | BUILD_CFLAGS += "-Wno-error=stringop-overflow" |
| 36 | # compatibility with curl 7.87; can be removed when elfutils upstream fixes the deprecation fails | 36 | # compatibility with curl 7.87; can be removed when elfutils upstream fixes the deprecation fails |
| 37 | BUILD_CFLAGS += "-Wno-error=deprecated-declarations" | 37 | CFLAGS:append = " -Wno-error=deprecated-declarations" |
| 38 | 38 | ||
| 39 | DEPENDS_BZIP2 = "bzip2-replacement-native" | 39 | DEPENDS_BZIP2 = "bzip2-replacement-native" |
| 40 | DEPENDS_BZIP2:class-target = "bzip2" | 40 | DEPENDS_BZIP2:class-target = "bzip2" |
