diff options
author | Dan McGregor <dan.mcgregor@usask.ca> | 2016-05-11 10:35:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-13 13:41:30 +0100 |
commit | f0d2bd3d90443162c69d7538c457fb8123552f0f (patch) | |
tree | 5e1fa0d44aca9e4f9f176dc74ef0f9c081aa3b8f /meta/recipes-devtools/binutils | |
parent | b83a808fcbd3e7aec3b0757c7180cf83dac44e92 (diff) | |
download | poky-f0d2bd3d90443162c69d7538c457fb8123552f0f.tar.gz |
binutils: disable werror on native build
It's disabled on cross builds, and it's needed for gcc 6
(From OE-Core rev: ce1b37e29dc89b67dc698e856007b59faa16c4df)
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.26.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.26.bb b/meta/recipes-devtools/binutils/binutils_2.26.bb index b70ffbf28a..e976bad3ed 100644 --- a/meta/recipes-devtools/binutils/binutils_2.26.bb +++ b/meta/recipes-devtools/binutils/binutils_2.26.bb | |||
@@ -13,7 +13,8 @@ EXTRA_OECONF += "--with-sysroot=/ \ | |||
13 | EXTRA_OECONF_class-native = "--enable-targets=all \ | 13 | EXTRA_OECONF_class-native = "--enable-targets=all \ |
14 | --enable-64-bit-bfd \ | 14 | --enable-64-bit-bfd \ |
15 | --enable-install-libiberty \ | 15 | --enable-install-libiberty \ |
16 | --enable-install-libbfd" | 16 | --enable-install-libbfd \ |
17 | --disable-werror" | ||
17 | 18 | ||
18 | do_install_class-native () { | 19 | do_install_class-native () { |
19 | autotools_do_install | 20 | autotools_do_install |