Skip to content

Commit 404db4d

Browse files
committed
build: Add a DEBUG flag that turns on -g
1 parent 7da9101 commit 404db4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ endif
2727
ifdef NO_TYPESTATE
2828
CFG_RUSTC_FLAGS += --no-typestate
2929
endif
30+
ifdef DEBUG
31+
CFG_RUSTC_FLAGS += -g
32+
endif
3033

3134
# platform-specific auto-configuration
3235
include $(CFG_SRC_DIR)/mk/platform.mk

0 commit comments

Comments
 (0)