aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index fe591087..160dc8c6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,6 +21,10 @@ else
CFG_RUSTC_FLAGS := -nowarn -O
endif
+ifdef SAVE_TEMPS
+ CFG_RUSTC_FLAGS += -save-temps
+endif
+
# On Darwin, we need to run dsymutil so the debugging information ends
# up in the right place. On other platforms, it automatically gets
# embedded into the executable, so use a no-op command.