From 648c4ae2ba0dc44284112fd91544cda598ce0603 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 29 Apr 2011 11:55:32 -0700 Subject: [PATCH] build: Add a TIME_PASSES=1 variable --- Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.in b/Makefile.in index 2c6e4521219..8954d830536 100644 --- a/Makefile.in +++ b/Makefile.in @@ -24,6 +24,9 @@ endif ifdef SAVE_TEMPS CFG_RUSTC_FLAGS += --save-temps endif +ifdef TIME_PASSES + CFG_RUSTC_FLAGS += --time-passes +endif # On Darwin, we need to run dsymutil so the debugging information ends # up in the right place. On other platforms, it automatically gets