diff options
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 |