# HG changeset patch # User "Yann E. MORIN" # Date 1189931095 0 # Node ID ee71450c5a6fc48fc44bcf4825d07615fc22c725 # Parent 11172b75456444fe36ff926c3e1a2d7a946154f8 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). diff -r 11172b754564 -r ee71450c5a6f scripts/build/cc_gcc.sh --- a/scripts/build/cc_gcc.sh Sat Sep 15 21:44:18 2007 +0000 +++ b/scripts/build/cc_gcc.sh Sun Sep 16 08:24:55 2007 +0000 @@ -219,6 +219,11 @@ 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}\""