[coreboot-gerrit] New patch to review for coreboot: e183403 buildgcc: enable multilib on AMD64

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Jun 10 00:04:14 CEST 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10497

-gerrit

commit e183403e709953280c57a278342dc6b493387bc0
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Tue Jun 9 14:59:58 2015 -0700

    buildgcc: enable multilib on AMD64
    
    Change-Id: Ic86a009eccfdf3e33a398bcdcc13b15c8dfc0d31
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/crossgcc/buildgcc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 3bee6dc..6cefe87 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -389,6 +389,9 @@ build_BINUTILS() {
 
 
 build_GCC() {
+	if [ $TARGETARCH == "x86_64-elf" ]; then
+		GCC_OPTIONS="${GCC_OPTIONS} --enable-multilib"
+	fi
 	# GCC does not honor HOSTCFLAGS at all. CFLAGS are used for
 	# both target and host object files.
 	# There's a work-around called CFLAGS_FOR_BUILD and CFLAGS_FOR_TARGET



More information about the coreboot-gerrit mailing list