diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-16 08:24:55 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-16 08:24:55 (GMT) |
commit | 0b39dc5751c933c882c804ba241eac64832015a7 (patch) | |
tree | ac1e46bd1a8d7316474c56244633b209d083a66f | |
parent | 3f09a4d4c6b03eaddf1fd33970745dde08c9357e (diff) |
Revert multilib handling. Even if we don't do multilib, we need to at least
say we don't, and not let gcc choose on its own (which it does wrong).
-rw-r--r-- | scripts/build/cc_gcc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build/cc_gcc.sh b/scripts/build/cc_gcc.sh index dba5f2e..bcdef43 100644 --- a/scripts/build/cc_gcc.sh +++ b/scripts/build/cc_gcc.sh @@ -219,6 +219,11 @@ do_cc() { 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" [ "${CT_CC_CXA_ATEXIT}" == "y" ] && extra_config="${extra_config} --enable-__cxa_atexit" + if [ "${CT_TARGET_MULTILIB}" = "y" ]; then + extra_config="${extra_config} --enable-multilib" + else + extra_config="${extra_config} --disable-multilib" + fi CT_DoLog DEBUG "Extra config passed: \"${extra_config}\"" |