scripts/build/cc/gcc.sh
changeset 3311 e35fa03cd204
parent 3300 15fb3cdc8c48
child 3312 4876ff97e039
     1.1 --- a/scripts/build/cc/gcc.sh	Mon May 05 23:24:05 2014 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Fri May 09 19:11:59 2014 -0700
     1.3 @@ -367,9 +367,9 @@
     1.4          extra_config+=("--with-system-zlib")
     1.5      fi
     1.6  
     1.7 -    if [ "${CT_MULTILIB}" = "y" ]; then
     1.8 -        extra_config+=("--enable-multilib")
     1.9 -    else
    1.10 +    # Some versions of gcc have a deffective --enable-multilib.
    1.11 +    # Since that's the default, only pass --disable-multilib.
    1.12 +    if [ "${CT_MULTILIB}" != "y" ]; then
    1.13          extra_config+=("--disable-multilib")
    1.14      fi
    1.15