summaryrefslogtreecommitdiff
path: root/config/bootstrap-debug-big.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/bootstrap-debug-big.mk')
-rw-r--r--config/bootstrap-debug-big.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/bootstrap-debug-big.mk b/config/bootstrap-debug-big.mk
new file mode 100644
index 00000000000..855ddc2a642
--- /dev/null
+++ b/config/bootstrap-debug-big.mk
@@ -0,0 +1,8 @@
+# This BUILD_CONFIG option is a bit like bootstrap-debug-lean, but it
+# trades space for speed: instead of recompiling programs during
+# stage3, it generates dumps during stage2 and stage3, saving them all
+# until the final compare.
+
+STAGE2_CFLAGS += -fdump-final-insns
+STAGE3_CFLAGS += -fdump-final-insns
+do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2