about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2015-03-09 16:33:48 -0400
committerCody P Schafer <dev@codyps.com>2015-03-10 14:06:59 -0400
commitfbc10c3851c4fbaf463275ad7b667111da077ff9 (patch)
treeb513fd73f57653bb00b43b72d0b596b6f2efd0b7
parent698c1008d6009fc6cf5a4e797cef62b52f7d1e75 (diff)
configure: have --enable-debug set -C debug-assertions=on so `debug!()` works again
-rw-r--r--mk/main.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/main.mk b/mk/main.mk
index c00494be47c..4bfc65ad843 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -130,7 +130,7 @@ ifdef CFG_DISABLE_DEBUG
   CFG_RUSTC_FLAGS += --cfg ndebug
 else
   $(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
-  CFG_RUSTC_FLAGS += --cfg debug
+  CFG_RUSTC_FLAGS += --cfg debug -C debug-assertions=on
 endif
 
 ifdef SAVE_TEMPS