diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-04-05 02:14:48 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-04-06 21:05:25 +0200 |
commit | 2fe2d3d7752bd65f87c4bada85853bf29c4278ba (patch) | |
tree | 62091e47095ccb8a541e82d8c1b7fd34fc2106c1 /util | |
parent | 45f77b81a49de76cb723ca4c5af7d89a97e67016 (diff) | |
download | coreboot-2fe2d3d7752bd65f87c4bada85853bf29c4278ba.tar.xz |
buildgcc: enable interwork/multilib for binutils
Otherwise, on OS X, some architectures will fail
to build libgcc (verified for ARM toolchain).
Change-Id: I8b58e0582596ad39cad92e9d478158c46a96a26e
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/14256
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-x | util/crossgcc/buildgcc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 96e4c193eb..4641ae90ba 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -446,6 +446,7 @@ build_BINUTILS() { CC="$CC" ../binutils-${BINUTILS_VERSION}/configure --prefix=$TARGETDIR \ --target=${TARGETARCH} --enable-targets=${TARGETARCH}${ADDITIONALTARGET} \ --disable-werror --disable-nls --enable-lto --enable-gold \ + --enable-interwork --enable-multilib \ --enable-plugins --enable-multilibs CFLAGS="$HOSTCFLAGS" || touch .failed $MAKE $JOBS || touch .failed $MAKE install DESTDIR=$DESTDIR || touch .failed |