[openwrt/openwrt] toolchain/binutils: use explicit configure args
LEDE Commits
lede-commits at lists.infradead.org
Wed Feb 8 17:56:00 PST 2023
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/dd39f760b75070dfc6589fa9e63e3a1525bd7e2c
commit dd39f760b75070dfc6589fa9e63e3a1525bd7e2c
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Tue Jan 31 11:27:00 2023 +0100
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 at gmail.com>
---
toolchain/binutils/Makefile | 4 ++++
1 file changed, 4 insertions(+)
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 \
More information about the lede-commits
mailing list