aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2017-01-24 13:35:12 -0800
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-12 00:47:42 +0000
commit4bd43c54babe00722e71026a039cdd238fa420f3 (patch)
tree1830408b1dd8a9f5e0761d6ba125bf62a446a904
parent3ae0c9a36154b9e079f83aed30c9878d8fa8b9ea (diff)
downloadtoolchain_gcc-4bd43c54babe00722e71026a039cdd238fa420f3.tar.gz
toolchain_gcc-4bd43c54babe00722e71026a039cdd238fa420f3.tar.bz2
toolchain_gcc-4bd43c54babe00722e71026a039cdd238fa420f3.zip
[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 c21accf17..24bb0bf90 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