]> gcc.gnu.org Git - gcc.git/blob - config/bootstrap-lto.mk
* config/bootstrap-lto: Use -flto.
[gcc.git] / config / bootstrap-lto.mk
1 # This option enables LTO for stage2 and stage3. It requires lto to
2 # be enabled for stage1 with --enable-stage1-languages.
3
4 STAGE2_CFLAGS += -flto=jobserver -fuse-linker-plugin -frandom-seed=1
5 STAGE3_CFLAGS += -flto=jobserver -fuse-linker-plugin -frandom-seed=1
6
7 # Ada fails to build with LTO, turn it off for now.
8 BOOT_ADAFLAGS += -fno-lto
This page took 0.040973 seconds and 6 git commands to generate.