2017-08-06 Andrew Pinski <apinski@cavium.com>
[official-gcc.git] / config / bootstrap-lto-noplugin.mk
blob0ca8ee2ff013c03b114011f68c2db2147983e870
1 # This option enables LTO for stage2 and stage3 on
2 # hosts without linker plugin support.
4 STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
5 STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
6 STAGEprofile_CFLAGS += -flto=jobserver -frandom-seed=1
7 STAGEtrain_CFLAGS += -flto=jobserver -frandom-seed=1
8 STAGEfeedback_CFLAGS += -flto=jobserver -frandom-seed=1