mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
build: Add a DEBUG flag that turns on -g
This commit is contained in:
parent
7da9101e11
commit
404db4d9a1
@ -27,6 +27,9 @@ endif
|
||||
ifdef NO_TYPESTATE
|
||||
CFG_RUSTC_FLAGS += --no-typestate
|
||||
endif
|
||||
ifdef DEBUG
|
||||
CFG_RUSTC_FLAGS += -g
|
||||
endif
|
||||
|
||||
# platform-specific auto-configuration
|
||||
include $(CFG_SRC_DIR)/mk/platform.mk
|
||||
|
Loading…
Reference in New Issue
Block a user