From 69fdfcec9830ec78c0bd30ab69728fe3d08cf919 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Tue, 8 Sep 2015 23:57:48 +0200 Subject: [PATCH] enable lto --- hermit/usr/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermit/usr/Makefile b/hermit/usr/Makefile index 17add6f34..8262bbd3a 100644 --- a/hermit/usr/Makefile +++ b/hermit/usr/Makefile @@ -39,7 +39,7 @@ $(TMP)/binutils: $(TMP)/bootstrap: @echo Build bootstrap compiler $Q$(MKDIR) $(TMP)/bootstrap - $Q$(CD) $(TMP)/bootstrap; $(TOPDIR)/gcc/configure --target=$(TARGET) --prefix=$(TOPDIR)/$(ARCH) --without-headers --enable-languages=c --disable-nls --disable-shared --disable-libssp --enable-threads=posix --enable-tls && $(MAKE) $(NJOBS) all-gcc && $(MAKE) install-gcc + $Q$(CD) $(TMP)/bootstrap; $(TOPDIR)/gcc/configure --target=$(TARGET) --prefix=$(TOPDIR)/$(ARCH) --without-headers --enable-languages=c --disable-nls --disable-shared --disable-libssp --disable-libgomp --enable-threads=posix --enable-tls && $(MAKE) $(NJOBS) all-gcc && $(MAKE) install-gcc toolchain: $(TMP)/newlib libs $(TMP)/gcc demo @@ -57,7 +57,7 @@ libs: $(TMP)/gcc: @echo Build final gcc $Q$(MKDIR) $(TMP)/gcc - $Q$(CD) $(TMP)/gcc; $(TOPDIR)/gcc/configure --target=$(TARGET) --prefix=$(TOPDIR)/$(ARCH) --without-headers --with-newlib --enable-languages=c,c++,lto --disable-nls --disable-shared --disable-libssp --enable-threads=posix --enable-tls && $(MAKE) $(NJOBS) && $(MAKE) install + $Q$(CD) $(TMP)/gcc; $(TOPDIR)/gcc/configure --target=$(TARGET) --prefix=$(TOPDIR)/$(ARCH) --without-headers --with-newlib --enable-languages=c,c++,lto --disable-nls --disable-shared --disable-libssp --enable-threads=posix --disable-libgomp --enable-tls --enable-lto && $(MAKE) $(NJOBS) && $(MAKE) install clean: @echo Cleaning toolchain