mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-19 16:40:49 +00:00
cc/gcc: avoid passing --enable-multilib (take 2)
The previous patch (cset b61a1b1, cc/gcc: avoid passing --enable-multilib) only fixed the core backend, and missed the final backend. This patch does the same as b61a1b1, but for the final backend. Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
7f1c646a97
commit
975d24cb35
@ -829,9 +829,10 @@ do_cc_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