build: Add a TIME_PASSES=1 variable
diff --git a/Makefile.in b/Makefile.in
index 2c6e452..8954d83 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,6 +24,9 @@
 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