mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-13 15:56:31 +00:00
cc/gcc: avoid passing --enable-multilib
Some versions of gcc have a broken --enable-multilib flag. As multilib is the default, only pass the --disable-multilib flag Signed-off-by: Cody P Schafer <dev@codyps.com> [yann.morin.1998@free.fr: make it an if-block; duplicate commit log as comment] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <5c970c1ceb22528fe28a.1399687923@localhost> Patchwork-Id: 347585
This commit is contained in:
parent
13fcbed86e
commit
b61a1b13ee
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user