toolchain/binutils: use explicit configure args
authorAndre Heider <a.heider@gmail.com>
Tue, 31 Jan 2023 10:27:00 +0000 (11:27 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Feb 2023 01:53:31 +0000 (02:53 +0100)
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>
toolchain/binutils/Makefile

index cf65e83e6fdabe67002f995efed38b399337275a..a0e112f8f6a649600dad15b7686ec78f40a61ec2 100644 (file)
@@ -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 \