toolchain/gcc: 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@gmail.com>
This commit is contained in:
parent
dd39f760b7
commit
4b8b89da50
|
@ -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) \
|
||||
|
|
|
@ -8,6 +8,7 @@ GCC_CONFIGURE += \
|
|||
--enable-shared \
|
||||
--enable-threads \
|
||||
--with-slibdir=$(TOOLCHAIN_DIR)/lib \
|
||||
--enable-plugins \
|
||||
--enable-lto \
|
||||
--with-libelf=$(STAGING_DIR_HOST)
|
||||
|
||||
|
|
Loading…
Reference in New Issue