diff options
| author | Graydon Hoare <[email protected]> | 2010-07-04 22:40:19 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-04 22:40:19 -0700 |
| commit | c21e12bc8b7a31ade0bfe2975dce19bfaa2a6643 (patch) | |
| tree | 464a5f36985e0b9e4b0b4b8d02bc7c3158c56f64 /src | |
| parent | Preempt works on non-windows, just needed a little valgrind love to complete ... (diff) | |
| download | rust-c21e12bc8b7a31ade0bfe2975dce19bfaa2a6643.tar.xz rust-c21e12bc8b7a31ade0bfe2975dce19bfaa2a6643.zip | |
Move NO_VALGRIND check below MINGW_CROSS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 8 |
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 |