mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
configure: Don't turn on rustc's -g with --enable-debug
-g is super-buggy
This commit is contained in:
parent
9fe22a4ab7
commit
1bd4e35dd8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user