gcc/config/bootstrap-lto.mk
Jan Hubicka dc09b1077d * config/bootstrap-lto: Use -flto.
From-SVN: r166630
2010-11-11 23:06:25 +00:00

8 lines
343 B
Makefile

# This option enables LTO for stage2 and stage3. It requires lto to
# be enabled for stage1 with --enable-stage1-languages.
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