Browse Source

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 <[email protected]>
Andre Heider 2 years ago
parent
commit
dd39f760b7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      toolchain/binutils/Makefile

+ 4 - 0
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 \