summaryrefslogtreecommitdiff
path: root/config/bootstrap-lto-noplugin.mk
blob: 0f50708e49d17f6314fde6fbc91910f33dcba01f (plain)
1
2
3
4
5
6
7
8
9
# 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 += -flto=jobserver -frandom-seed=1
STAGEtrain_CFLAGS += -flto=jobserver -frandom-seed=1
STAGEfeedback_CFLAGS += -flto=jobserver -frandom-seed=1
do-compare = /bin/true