aboutsummaryrefslogtreecommitdiff
path: root/config/bootstrap-lto.mk
blob: 9b2c2d2ba447d02d8a696a200673195389a2d517 (plain)
1
2
3
4
5
6
# This option enables LTO for stage2 and stage3.  It requires lto to
# be enabled for stage1 with --enable-stage1-languages.

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