Check if .got.plt section is discarded before using it.
[binutils.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