diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/cc/gcc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 04aff66..29eaabe 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -367,9 +367,9 @@ do_cc_core_backend() { extra_config+=("--with-system-zlib") fi - if [ "${CT_MULTILIB}" = "y" ]; then - extra_config+=("--enable-multilib") - else + # Some versions of gcc have a deffective --enable-multilib. + # Since that's the default, only pass --disable-multilib. + if [ "${CT_MULTILIB}" != "y" ]; then extra_config+=("--disable-multilib") fi |