1193326Sed# This BUILD_CONFIG option is a bit like bootstrap-debug, but rather
2193326Sed# than comparing stripped object files, it compares compiler internal
3193326Sed# state during stage3.  Both can be used simultaneously.
4193326Sed
5193326Sed# This makes it slower than bootstrap-debug alone, for there's
6193326Sed# additional dumping and recompilation during stage3.
7193326Sed# bootstrap-debug-big can avoid the recompilation, if plenty of disk
8193326Sed# space is available.
9193326Sed
10193326SedSTAGE2_CFLAGS += -fcompare-debug=
11193326SedSTAGE3_CFLAGS += -fcompare-debug
12193326Seddo-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2
13193326Sed