summaryrefslogtreecommitdiff
path: root/config/bootstrap-lto-noplugin.mk
blob: a5073365b5a334c0714f5bbb000a27ab7c64afaf (plain)
1
2
3
4
5
6
# This option enables LTO for stage2 and stage3 on
# hosts without linker plugin support.

STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
STAGE3_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects
STAGEprofile_CFLAGS += -fno-lto