Enable -flto in all PGO stages for bootstrap-lto-{,noplugin}.mk.
2017-06-19 Martin Liska <mliska@suse.cz> * bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages. * bootstrap-lto.mk: Likewise. From-SVN: r249367
This commit is contained in:
parent
0d053a49b6
commit
1a1e0df1cd
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-06-19 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* bootstrap-lto-noplugin.mk: Enable -flto in all PGO stages.
|
||||
* bootstrap-lto.mk: Likewise.
|
||||
|
||||
2017-06-03 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* mt-android: New file.
|
||||
|
|
|
@ -3,4 +3,6 @@
|
|||
|
||||
STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
|
||||
STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
|
||||
STAGEprofile_CFLAGS += -fno-lto
|
||||
STAGEprofile_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
STAGEtrain_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
STAGEfeedback_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
|
||||
STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
STAGEprofile_CFLAGS += -fno-lto
|
||||
STAGEprofile_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
STAGEtrain_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
STAGEfeedback_CFLAGS += -flto=jobserver -frandom-seed=1
|
||||
|
||||
# assumes the host supports the linker plugin
|
||||
LTO_AR = $$r/$(HOST_SUBDIR)/prev-gcc/gcc-ar$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/
|
||||
|
|
Loading…
Add table
Reference in a new issue