summaryrefslogtreecommitdiff
path: root/config/bootstrap-debug-lean.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config/bootstrap-debug-lean.mk')
-rw-r--r--config/bootstrap-debug-lean.mk11
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 000000000..e215280b0
--- /dev/null
+++ b/config/bootstrap-debug-lean.mk
@@ -0,0 +1,11 @@
+# This BUILD_CONFIG option is a bit like bootstrap-debug, but rather
+# than comparing stripped object files, it compares compiler internal
+# state during stage3. Both can be used simultaneously.
+
+# This makes it slower than bootstrap-debug alone, 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 += -fcompare-debug=
+STAGE3_CFLAGS += -fcompare-debug