Source

crosstool-ng-pq / multilib-fix.diff

# HG changeset patch
# Parent fb268624b8d6517adf5d59bb6176c99ed7b69d4f

diff -r fb268624b8d6 scripts/build/cc/gcc.sh
--- a/scripts/build/cc/gcc.sh	Sat Nov 10 18:22:14 2012 -0800
+++ b/scripts/build/cc/gcc.sh	Sat Nov 10 18:22:23 2012 -0800
@@ -339,11 +339,7 @@
         extra_config+=("--with-system-zlib")
     fi
 
-    if [ "${CT_MULTILIB}" = "y" ]; then
-        extra_config+=("--enable-multilib")
-    else
-        extra_config+=("--disable-multilib")
-    fi
+    [ "${CT_MULTILIB}" != "y" ] && extra_config+=("--disable-multilib")
 
     CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"