toolchain/gcc: use explicit configure args
[openwrt/staging/nbd.git] / toolchain / gcc / common.mk
index 7eae855eea42c7ba1d4a2166cf615b0ddcc0d8a1..5f314c7fc0bcccf8f75747eea2ad1fcbc1f2b857 100644 (file)
@@ -106,6 +106,8 @@ GCC_CONFIGURE:= \
                        --with-abi=$(call qstrip,$(CONFIG_MIPS64_ABI))) \
                $(if $(CONFIG_arc),--with-cpu=$(CONFIG_CPU_TYPE)) \
                $(if $(CONFIG_powerpc64), $(if $(CONFIG_USE_MUSL),--with-abi=elfv2)) \
+               --with-system-zlib=$(STAGING_DIR_HOST) \
+               --without-zstd \
                --with-gmp=$(STAGING_DIR_HOST) \
                --with-mpfr=$(STAGING_DIR_HOST) \
                --with-mpc=$(STAGING_DIR_HOST) \