configure: have --enable-debug set -C debug-assertions=on so `debug!()` works again

This commit is contained in:
Cody P Schafer 2015-03-09 16:33:48 -04:00
parent 698c1008d6
commit fbc10c3851
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ ifdef CFG_DISABLE_DEBUG
CFG_RUSTC_FLAGS += --cfg ndebug CFG_RUSTC_FLAGS += --cfg ndebug
else else
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG)) $(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
CFG_RUSTC_FLAGS += --cfg debug CFG_RUSTC_FLAGS += --cfg debug -C debug-assertions=on
endif endif
ifdef SAVE_TEMPS ifdef SAVE_TEMPS