[meta-gplv2] elfutils: ignore new error from gcc-9

Submitted by Martin Jansa on June 5, 2019, 7:56 a.m. | Patch ID: 161975

Details

Message ID 20190605075602.599-1-Martin.Jansa@gmail.com
State New
Headers show

Commit Message

Martin Jansa June 5, 2019, 7:56 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

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"

Comments

Ross Burton June 5, 2019, 4:01 p.m.
Pushed, thanks.

Ross

On Wed, 5 Jun 2019 at 08:56, Martin Jansa <martin.jansa@gmail.com> wrote:
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> 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"
> --
> 2.17.1
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto