aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-28 22:29:17 -0700
committerGraydon Hoare <[email protected]>2010-06-28 22:29:17 -0700
commitd94f0e2498ea3b7e842fd7ff52ddb720c828411a (patch)
treeeb7b02a3662809f2d81779b01d69a5e0a24550b8 /src
parentAdd to generic-obj.rs testcase a method that takes an argument of the object ... (diff)
downloadrust-d94f0e2498ea3b7e842fd7ff52ddb720c828411a.tar.xz
rust-d94f0e2498ea3b7e842fd7ff52ddb720c828411a.zip
Add a NO_VALGRIND override mechanism to makefile, if you want day-to-day builds to cycle faster on linux.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index cda3be53..5a72afde 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