diff options
Diffstat (limited to 'config/bootstrap-debug-lean.mk')
-rw-r--r-- | config/bootstrap-debug-lean.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/bootstrap-debug-lean.mk b/config/bootstrap-debug-lean.mk new file mode 100644 index 00000000000..5666d3f2119 --- /dev/null +++ b/config/bootstrap-debug-lean.mk @@ -0,0 +1,11 @@ +# This BUILD_CONFIG option is a bit like bootstrap-debug, but in +# addition to comparing stripped object files, it also compares +# compiler internal state during stage3. + +# This makes it slower than bootstrap-debug, for there's additional +# dumping and recompilation during stage3. bootstrap-debug-big can +# avoid the recompilation, if plenty of disk space is available. + +STAGE2_CFLAGS += -gtoggle -fcompare-debug= +STAGE3_CFLAGS += -fcompare-debug +do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2 |