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>
This commit is contained in:
Richard Purdie
2016-01-31 13:21:06 +00:00
parent c85c54f7f8
commit 89df5f1a0b

View File

@@ -7,6 +7,7 @@ EXTRA_OECONF += "--with-sysroot=/ \
--enable-install-libbfd \
--enable-install-libiberty \
--enable-shared \
--with-system-zlib \
"
EXTRA_OECONF_class-native = "--enable-targets=all \