From dd39f760b75070dfc6589fa9e63e3a1525bd7e2c Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Tue, 31 Jan 2023 11:27:00 +0100 Subject: [PATCH] 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 --- 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 \ -- 2.30.2