* config/bootstrap-lto: Use -flto.

From-SVN: r166630
This commit is contained in:
Jan Hubicka 2010-11-12 00:06:25 +01:00 committed by Jan Hubicka
parent 58ebaaf188
commit dc09b1077d
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View 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