xref: /netbsd-src/external/gpl3/binutils.old/dist/config/bootstrap-debug-lean.mk (revision ede781334f5dc56e6b74c3945d364b5b98850996)
116dce513Schristos# This BUILD_CONFIG option is a bit like bootstrap-debug, but rather
216dce513Schristos# than comparing stripped object files, it compares compiler internal
316dce513Schristos# state during stage3.  Both can be used simultaneously.
416dce513Schristos
516dce513Schristos# This makes it slower than bootstrap-debug alone, for there's
616dce513Schristos# additional dumping and recompilation during stage3.
716dce513Schristos# bootstrap-debug-big can avoid the recompilation, if plenty of disk
816dce513Schristos# space is available.
916dce513Schristos
1016dce513SchristosSTAGE2_CFLAGS += -fcompare-debug=
1116dce513SchristosSTAGE3_CFLAGS += -fcompare-debug
12*ede78133Schristosdo-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2
13