From c21e12bc8b7a31ade0bfe2975dce19bfaa2a6643 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Sun, 4 Jul 2010 22:40:19 -0700 Subject: Move NO_VALGRIND check below MINGW_CROSS. --- src/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3