summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-02-08 11:48:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-02-10 09:45:58 +0100
commit8e68aff51ccb14d06db43c755f4f7ca89747d6ae (patch)
tree4cc342c621fee05154af4973594f9d69d947f3c7 /util/crossgcc
parent3834520ba1da2587e0e4bcdcc447b110314cb2ee (diff)
buildgcc: enable multilib for gcc
Make the gcc build system create multiple libgcc.a instances for different ABIs. Change-Id: I1c888bf751bf43566da8927ed0aedb53857363bf Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13625 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 8f67949f25..9652496bc5 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -439,6 +439,7 @@ build_GCC() {
--disable-libssp --disable-bootstrap --disable-nls \
--disable-libquadmath --without-headers \
--disable-threads \
+ --enable-interwork --enable-multilib \
--disable-libatomic --disable-libcc1 --disable-decimal-float \
${GCC_OPTIONS} --enable-languages="${LANGUAGES}" \
--with-gmp=$DESTDIR$TARGETDIR --with-mpfr=$DESTDIR$TARGETDIR \