[coreboot-gerrit] New patch to review for coreboot: f5e537a buildgcc: Drop code to enable LTO

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

-gerrit

commit f5e537aef7339cea70842c767f6616d14823b858
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Tue Jun 9 12:24:54 2015 -0700

    buildgcc: Drop code to enable LTO
    
    It is enabled by default.
    
    Change-Id: I661e76b23cef164a2e6e55588323db8a32bb3da4
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/crossgcc/buildgcc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 32011b5..2f6f29c 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -399,7 +399,7 @@ build_GCC() {
 		--target=${TARGETARCH} --disable-werror --disable-shared \
 		--disable-libssp --disable-bootstrap --disable-nls \
 		--disable-libquadmath --without-headers \
-		$GCC_OPTIONS --enable-languages="c" $USE_GOLD \
+		--enable-languages="c" $USE_GOLD \
 		--with-gmp=$DESTDIR$TARGETDIR --with-mpfr=$DESTDIR$TARGETDIR \
 		--with-mpc=$DESTDIR$TARGETDIR --with-libelf=$DESTDIR$TARGETDIR \
 		--with-pkgversion="coreboot toolchain v$CROSSGCC_VERSION $CROSSGCC_DATE" \
@@ -595,7 +595,6 @@ fi
 # coreboot does not like the GOLD linker
 # USE_GOLD="--enable-gold"
 USE_GOLD=""
-GCC_OPTIONS="--enable-lto"
 
 # Prepare target directory for building GCC
 # (dependencies must be in the PATH)



More information about the coreboot-gerrit mailing list