We already depend on zlib in binutils.in, but currently the version
bundled with binutils is used unnecessarily.

Signed-off-by: Roland Hieber <[email protected]>
---
PATCH v3: new in v3
---
 rules/binutils.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/binutils.make b/rules/binutils.make
index bec8436d62fb..20bb5d60f700 100644
--- a/rules/binutils.make
+++ b/rules/binutils.make
@@ -43,6 +43,7 @@ BINUTILS_CONF_TOOL := autoconf
 BINUTILS_CONF_OPT := \
        $(CROSS_AUTOCONF_USR) \
        --target=$(PTXCONF_GNU_TARGET) \
+       --with-system-zlib \
        --disable-werror
 
 BINUTILS_CFLAGS := \
-- 
2.30.2


Reply via email to