2010-08-27 Basile Starynkevitch <basile@starynkevitch.net>
[official-gcc.git] / config / bootstrap-lto.mk
blob14099a08b8d7bb687ac75cab3348b4a940eda6aa
1 # This option enables LTO for stage2 and stage3. It requires lto to
2 # be enabled for stage1 with --enable-stage1-languages.
4 STAGE2_CFLAGS += -flto
5 STAGE3_CFLAGS += -flto
7 # Ada fails to build with LTO, turn it off for now.
8 BOOT_ADAFLAGS += -fno-lto