gcc/config/bootstrap-lto-noplugin.mk
Richard Biener 4be63d9e5e re PR bootstrap/85571 (non-bootstrap-debug miscompare with trunk)
2018-05-08  Richard Biener  <rguenther@suse.de>

	PR bootstrap/85571
	config/
	* bootstrap-lto-noplugin.mk: Disable compare.
	* bootstrap-lto.mk: Supply contrib/compare-lto for do-compare.

	contrib/
	* compare-lto: New script derived from compare-debug.

From-SVN: r260026
2018-05-08 08:50:33 +00:00

10 lines
412 B
Makefile

# 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