summaryrefslogtreecommitdiff
path: root/support/sdbinutils/config/bootstrap-debug-lean.mk
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /support/sdbinutils/config/bootstrap-debug-lean.mk
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'support/sdbinutils/config/bootstrap-debug-lean.mk')
-rw-r--r--support/sdbinutils/config/bootstrap-debug-lean.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/support/sdbinutils/config/bootstrap-debug-lean.mk b/support/sdbinutils/config/bootstrap-debug-lean.mk
new file mode 100644
index 0000000..5f2db80
--- /dev/null
+++ b/support/sdbinutils/config/bootstrap-debug-lean.mk
@@ -0,0 +1,12 @@
+# 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
+do-compare = $(SHELL) $(srcdir)/contrib/compare-debug $$f1 $$f2