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

STAGE2_CFLAGS += -flto=jobserver -fuse-linker-plugin -frandom-seed=1
STAGE3_CFLAGS += -flto=jobserver -fuse-linker-plugin -frandom-seed=1