summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils_2.26.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-31 13:21:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-01 11:20:18 +0000
commit89df5f1a0ba06bc82ca05ac9099fa4db14d0a9b2 (patch)
tree381cad64a42d421e726bd443b2a760370d625bbd /meta/recipes-devtools/binutils/binutils_2.26.bb
parentc85c54f7f8cf253687464cfbe19cf7f305868578 (diff)
downloadpoky-89df5f1a0ba06bc82ca05ac9099fa4db14d0a9b2.tar.gz
binutils: Use target provided zlib
When using -fpie (security related cflags), qemux6-64 builds would fail due to linker symbol errors. This was due to the internal zlib that binutils was using. Add the switch to tell it to use the target system zlib which is already in DEPENDS. That zlib is already compiled with the correct flags. (From OE-Core rev: 9ec713c3949f9bcfa1e03561b9811eb3d0451c2f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils_2.26.bb')
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.26.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.26.bb b/meta/recipes-devtools/binutils/binutils_2.26.bb
index 6f42671ed0..b70ffbf28a 100644
--- a/meta/recipes-devtools/binutils/binutils_2.26.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.26.bb
@@ -7,6 +7,7 @@ EXTRA_OECONF += "--with-sysroot=/ \
7 --enable-install-libbfd \ 7 --enable-install-libbfd \
8 --enable-install-libiberty \ 8 --enable-install-libiberty \
9 --enable-shared \ 9 --enable-shared \
10 --with-system-zlib \
10 " 11 "
11 12
12EXTRA_OECONF_class-native = "--enable-targets=all \ 13EXTRA_OECONF_class-native = "--enable-targets=all \