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