build: Remove debug/ndebug cfg. Unused

This commit is contained in:
Brian Anderson 2012-06-01 11:42:23 -07:00
parent dd8f76c619
commit c4471dd685
1 changed files with 1 additions and 2 deletions

View File

@ -81,10 +81,9 @@ endif
ifdef CFG_ENABLE_DEBUG
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
CFG_RUSTC_FLAGS += -g --cfg=debug
CFG_RUSTC_FLAGS += -g
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
else
CFG_RUSTC_FLAGS += --cfg=ndebug
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG
endif