aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-04 22:40:19 -0700
committerGraydon Hoare <[email protected]>2010-07-04 22:40:19 -0700
commitc21e12bc8b7a31ade0bfe2975dce19bfaa2a6643 (patch)
tree464a5f36985e0b9e4b0b4b8d02bc7c3158c56f64 /src/Makefile
parentPreempt works on non-windows, just needed a little valgrind love to complete ... (diff)
downloadrust-c21e12bc8b7a31ade0bfe2975dce19bfaa2a6643.tar.xz
rust-c21e12bc8b7a31ade0bfe2975dce19bfaa2a6643.zip
Move NO_VALGRIND check below MINGW_CROSS.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index c21dcc69..2023d9ed 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -45,10 +45,6 @@ ifeq ($(CFG_OSTYPE), Linux)
endif
endif
-ifdef NO_VALGRIND
- CFG_VALGRIND :=
-endif
-
ifeq ($(CFG_OSTYPE), Darwin)
CFG_RUNTIME := librustrt.dylib
CFG_STDLIB := libstd.dylib
@@ -150,6 +146,10 @@ else
$(info cfg: building bytecode compiler)
endif
+ifdef NO_VALGRIND
+ CFG_VALGRIND :=
+endif
+
ifneq ($(CFG_LLVM_CONFIG),)
CFG_LLVM_CONFIG := $(shell which $(CFG_LLVM_CONFIG))
endif