configure: Don't turn on rustc's -g with --enable-debug

-g is super-buggy
This commit is contained in:
Brian Anderson 2012-07-02 17:21:27 -07:00
parent 9fe22a4ab7
commit 1bd4e35dd8

View File

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