rustc: Add a SAVE_TEMPS option to the Makefile for use when debugging stage1 and test cases

This commit is contained in:
Patrick Walton 2011-04-25 14:20:28 -07:00
parent e0479c902b
commit 3f77e7df6d

View file

@ -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.