xref: /netbsd-src/external/gpl3/gcc/dist/config/bootstrap-lto-noplugin.mk (revision a24efa7dea9f1f56c3bdb15a927d3516792ace1c)
1# This option enables LTO for stage2 and stage3 on
2# hosts without linker plugin support.
3
4STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
5STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
6STAGEprofile_CFLAGS += -fno-lto
7