aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2017-01-24 21:35:12 (GMT)
committerCaroline Tice <cmtice@google.com>2017-01-24 21:35:12 (GMT)
commitc82a2517402214b5c2fd9dd32554f568c60b1eeb (patch)
tree6c5664c57533b075335bb3400af68d8791db948f
parent41f3e25635616c067b9ee272304e6f86ac8ee9db (diff)
downloadtoolchain_gcc-c82a2517402214b5c2fd9dd32554f568c60b1eeb.zip
toolchain_gcc-c82a2517402214b5c2fd9dd32554f568c60b1eeb.tar.gz
toolchain_gcc-c82a2517402214b5c2fd9dd32554f568c60b1eeb.tar.bz2
[GCC] Add '--disable-multilib' to gcc configuration.
Disabling multilibs fixes the GCC builds for both MIPS and x86_64. Without this, the GCC compiler fails to build for those architectures. Bug: None Test: Ran build.py without '--toolchain' flag; it successfully built all of the compilers. Change-Id: I018825177e77812a705db54cdad468239e48a87f
-rwxr-xr-xbuild-gcc.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-gcc.sh b/build-gcc.sh
index c21accf..24bb0bf 100755
--- a/build-gcc.sh
+++ b/build-gcc.sh
@@ -406,7 +406,8 @@ $BUILD_SRCDIR/configure --target=$ABI_CONFIGURE_TARGET \
--with-bugurl=$DEFAULT_ISSUE_TRACKER_URL \
--enable-languages=$ENABLE_LANGUAGES \
$EXTRA_CONFIG_FLAGS \
- $ABI_CONFIGURE_EXTRA_FLAGS
+ $ABI_CONFIGURE_EXTRA_FLAGS \
+ --disable-multilib
if [ $? != 0 ] ; then
dump "Error while trying to configure toolchain build. See $TMPLOG"
exit 1