On host distros with gcc-4.9 and newer there are some new warnings raised. This causes binutils-native to fail as it is built by default with -Werror. It should be safe to build -native packages without using -Werror.
Signed-off-by: Paul Barker paul.barker@commagility.com --- .../recipes-devtools/binutils/binutils_linaro-2.24.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.24.bb b/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.24.bb index ef5b7c5..dbd79dc 100644 --- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.24.bb +++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils_linaro-2.24.bb @@ -12,7 +12,9 @@ EXTRA_OECONF += "--with-sysroot=/ \ EXTRA_OECONF_class-native = "--enable-targets=all \ --enable-64-bit-bfd \ --enable-install-libbfd \ - --enable-install-libiberty" + --enable-install-libiberty \ + --disable-werror \ + "
do_install_class-native () { autotools_do_install