summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/Makefile
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-01-31 11:27:00 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-02-09 02:53:31 +0100
commitdd39f760b75070dfc6589fa9e63e3a1525bd7e2c (patch)
treedf4b7e321457f60f31e1b864dccb8c4a71f133c1 /toolchain/binutils/Makefile
parent721206a1b14fc5eba7ba8e20d979b26baf934e0d (diff)
downloadopenwrt-dd39f760b75070dfc6589fa9e63e3a1525bd7e2c.tar.gz
openwrt-dd39f760b75070dfc6589fa9e63e3a1525bd7e2c.tar.bz2
openwrt-dd39f760b75070dfc6589fa9e63e3a1525bd7e2c.zip
toolchain/binutils: use explicit configure args
Spell out what we want to enable or disable. This prevents host libs to leak in, so everyone get the same feature set. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'toolchain/binutils/Makefile')
-rw-r--r--toolchain/binutils/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index cf65e83e6f..a0e112f8f6 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -43,8 +43,12 @@ HOST_CONFIGURE_ARGS = \
--host=$(GNU_HOST_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \
--with-sysroot=$(TOOLCHAIN_DIR) \
+ --with-system-zlib \
+ --without-zstd \
--enable-deterministic-archives \
--enable-plugins \
+ --enable-lto \
+ --disable-gprofng \
--disable-multilib \
--disable-werror \
--disable-nls \