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:
Cody P Schafer 2014-07-18 23:23:11 -04:00 committed by Yann E. MORIN
parent 7f1c646a97
commit 975d24cb35

View File

@ -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