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 | ||
bbb3c81a L |
4 | STAGE2_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 |
5 | STAGE3_CFLAGS += -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 | |
29e66501 AO |
6 | |
7 | # Ada fails to build with LTO, turn it off for now. | |
8 | BOOT_ADAFLAGS += -fno-lto |