about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-06-28 22:29:17 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-06-28 22:29:17 -0700
commitd94f0e2498ea3b7e842fd7ff52ddb720c828411a (patch)
treeeb7b02a3662809f2d81779b01d69a5e0a24550b8
parentd5ff6e133c3eb52935cdae155c3ded6fbf2c7837 (diff)
Add a NO_VALGRIND override mechanism to makefile, if you want day-to-day builds to cycle faster on linux.
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index cda3be5364e..5a72afdeea9 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -45,6 +45,10 @@ ifeq ($(CFG_OSTYPE), Linux)
   endif
 endif
 
+ifdef NO_VALGRIND
+    CFG_VALGRIND :=
+endif
+
 ifeq ($(CFG_OSTYPE), Darwin)
   CFG_RUNTIME := librustrt.dylib
   CFG_STDLIB := libstd.dylib