* config/bootstrap-lto: Use -flto.
authorJan Hubicka <jh@suse.cz>
Thu, 11 Nov 2010 23:06:25 +0000 (00:06 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 11 Nov 2010 23:06:25 +0000 (23:06 +0000)
From-SVN: r166630

ChangeLog
config/bootstrap-lto.mk

index e3495aec8debf246d749cfc59d814cb351c9e392..1b9852b09da1868b880f131ac90c4dccfda42769 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-11  Jan Hubicka  <jh@suse.cz>
+
+       * config/bootstrap-lto: Use -flto.
+
 2010-11-11  Andreas Simbuerger  <simbuerg@fim.uni-passau.de>
 
        * configure.ac: Support official CLooG.org versions.
index 785d15f81c231fdfa7b5d40c3e351dc05489d411..b30ac1a5fa3014d425035db233ae189277a61397 100644 (file)
@@ -1,8 +1,8 @@
 # This option enables LTO for stage2 and stage3.  It requires lto to
 # be enabled for stage1 with --enable-stage1-languages.
 
-STAGE2_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1
-STAGE3_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1
+STAGE2_CFLAGS += -flto=jobserver -fuse-linker-plugin -frandom-seed=1
+STAGE3_CFLAGS += -flto=jobserver -fuse-linker-plugin -frandom-seed=1
 
 # Ada fails to build with LTO, turn it off for now.
 BOOT_ADAFLAGS += -fno-lto