Move NO_VALGRIND check below MINGW_CROSS.

This commit is contained in:
Graydon Hoare 2010-07-04 22:40:19 -07:00
parent 2a413070c6
commit c21e12bc8b

View File

@ -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