mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
Multilib is gone, so don't use it when building gcc.
/trunk/scripts/build/cc_gcc.sh | 6 1 5 0 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
This commit is contained in:
parent
8dd0e17c51
commit
5ad450e403
@ -221,6 +221,7 @@ do_cc() {
|
||||
lang_opt=$(echo "${lang_opt},${CT_CC_LANG_OTHERS}" |sed -r -e 's/,+/,/g; s/,*$//;')
|
||||
|
||||
extra_config="--enable-languages=${lang_opt}"
|
||||
extra_config="${extra_config} --disable-multilib"
|
||||
extra_config="${extra_config} ${CT_ARCH_WITH_ARCH} ${CT_ARCH_WITH_ABI} ${CT_ARCH_WITH_CPU} ${CT_ARCH_WITH_TUNE} ${CT_ARCH_WITH_FPU} ${CT_ARCH_WITH_FLOAT}"
|
||||
[ "${CT_SHARED_LIBS}" = "y" ] || extra_config="${extra_config} --disable-shared"
|
||||
if [ "${CT_CC_CXA_ATEXIT}" = "y" ]; then
|
||||
@ -228,11 +229,6 @@ do_cc() {
|
||||
else
|
||||
extra_config="${extra_config} --disable-__cxa_atexit"
|
||||
fi
|
||||
if [ "${CT_TARGET_MULTILIB}" = "y" ]; then
|
||||
extra_config="${extra_config} --enable-multilib"
|
||||
else
|
||||
extra_config="${extra_config} --disable-multilib"
|
||||
fi
|
||||
[ "${CT_CC_GCC_GMP_MPFR}" = "y" ] && extra_config="${extra_config} --with-gmp=${CT_PREFIX_DIR} --with-mpfr=${CT_PREFIX_DIR}"
|
||||
|
||||
CT_DoLog DEBUG "Extra config passed: '${extra_config}'"
|
||||
|
Loading…
Reference in New Issue
Block a user