diff options
| author | Patrick Walton <[email protected]> | 2011-04-25 14:20:28 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-04-25 14:20:28 -0700 |
| commit | 3f77e7df6dc2eabd47f3708cacc4124d43e79c77 (patch) | |
| tree | be4cfbb4859f6c1a606a1a270acd172a8e0f6671 /Makefile.in | |
| parent | rustc: Add a -save-temps option to save bitcode and write output simultaneous... (diff) | |
| download | rust-3f77e7df6dc2eabd47f3708cacc4124d43e79c77.tar.xz rust-3f77e7df6dc2eabd47f3708cacc4124d43e79c77.zip | |
rustc: Add a SAVE_TEMPS option to the Makefile for use when debugging stage1 and test cases
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 4 |
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. |