[coreboot-gerrit] New patch to review for coreboot: 2b24e6f buildgcc: move GOLD linker option to build_GCC

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Jun 9 22:46:57 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/10493

-gerrit

commit 2b24e6fb317c3c3bc5a7678ad55e38c757f95f9f
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Tue Jun 9 13:04:11 2015 -0700

    buildgcc: move GOLD linker option to build_GCC
    
    It's only used there, and hard coded in the code anyways
    (more of a comment / reminder)
    
    Change-Id: I90342d9f4bf754eb6d0a231b6f7e09805ccf2030
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/crossgcc/buildgcc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 712b898..ee27fb3 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -389,6 +389,10 @@ build_BINUTILS() {
 
 
 build_GCC() {
+	# coreboot does not like the GOLD linker
+	# USE_GOLD="--enable-gold"
+	USE_GOLD=""
+
 	# 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
@@ -596,10 +600,6 @@ if [ "$USECCACHE" = 1 ]; then
 	CC="ccache $CC"
 fi
 
-# coreboot does not like the GOLD linker
-# USE_GOLD="--enable-gold"
-USE_GOLD=""
-
 # Prepare target directory for building GCC
 # (dependencies must be in the PATH)
 mkdir -p $DESTDIR$TARGETDIR/bin



More information about the coreboot-gerrit mailing list