auto merge of #6326 : z0w0/rust/cfg-debug, r=yichoi

This commit is contained in:
bors 2013-05-08 10:33:40 -07:00
commit 270b508174

View File

@ -101,7 +101,7 @@ endif
ifdef CFG_ENABLE_DEBUG ifdef CFG_ENABLE_DEBUG
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG)) $(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
CFG_RUSTC_FLAGS += CFG_RUSTC_FLAGS += --cfg debug
CFG_GCCISH_CFLAGS += -DRUST_DEBUG CFG_GCCISH_CFLAGS += -DRUST_DEBUG
else else
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG CFG_GCCISH_CFLAGS += -DRUST_NDEBUG