Commit | Line | Data |
---|---|---|
29e66501 AO |
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 | |
5 | STAGE3_CFLAGS += -flto | |
6 | ||
7 | # Ada fails to build with LTO, turn it off for now. | |
8 | BOOT_ADAFLAGS += -fno-lto |