aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index c32ac1e4..534293d0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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