aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2019-06-05 07:56:02 +0000
committerRoss Burton <ross.burton@intel.com>2019-06-05 17:00:56 +0100
commit168a5070bdf3bc45edb5bf2a1add9b7c081f5b64 (patch)
treeb3ea46ecf44f4f28d5dfab2b02c34ff0557446f8
parentedc6680691596c9f889c3c0a0909d57d8d05b145 (diff)
downloadmeta-gplv2-168a5070bdf3bc45edb5bf2a1add9b7c081f5b64.tar.gz
meta-gplv2-168a5070bdf3bc45edb5bf2a1add9b7c081f5b64.tar.bz2
meta-gplv2-168a5070bdf3bc45edb5bf2a1add9b7c081f5b64.zip
elfutils: ignore new error from gcc-92.8_M1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--recipes-devtools/elfutils/elfutils_0.148.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-devtools/elfutils/elfutils_0.148.bb b/recipes-devtools/elfutils/elfutils_0.148.bb
index a03b74e..1f07a28 100644
--- a/recipes-devtools/elfutils/elfutils_0.148.bb
+++ b/recipes-devtools/elfutils/elfutils_0.148.bb
@@ -57,6 +57,10 @@ SRC_URI += "\
"
inherit autotools gettext
+# There is a fix in 0.175 version (https://sourceware.org/bugzilla/show_bug.cgi?id=23884)
+# but 0.175 has different license, so to be safe don't backport the fix, just ignore the issue
+CFLAGS += "-Wno-error=missing-attributes"
+
EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
EXTRA_OECONF_append_class-native = " --without-bzlib"
EXTRA_OECONF_append_libc-uclibc = " --enable-uclibc"