diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/Makefile b/src/Makefile index 2be8be48..37726b6e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -43,13 +43,6 @@ ifeq ($(CFG_OSTYPE), FreeBSD) endif CFG_NATIVE := 1 CFG_UNIXY := 1 - CFG_VALGRIND := $(shell which valgrind) - ifdef CFG_VALGRIND - CFG_VALGRIND += --leak-check=full \ - --error-exitcode=1 \ - --quiet --vex-iropt-level=0 \ - --suppressions=etc/x86.supp - endif endif ifeq ($(CFG_OSTYPE), Linux) @@ -63,13 +56,6 @@ ifeq ($(CFG_OSTYPE), Linux) endif CFG_NATIVE := 1 CFG_UNIXY := 1 - CFG_VALGRIND := $(shell which valgrind) - ifdef CFG_VALGRIND - CFG_VALGRIND += --leak-check=full \ - --error-exitcode=1 \ - --quiet --vex-iropt-level=0 \ - --suppressions=etc/x86.supp - endif endif ifeq ($(CFG_OSTYPE), Darwin) @@ -137,6 +123,13 @@ ifdef CFG_UNIXY CFG_GCC_LINK_FLAGS += -m32 endif endif + CFG_VALGRIND := $(shell which valgrind) + ifdef CFG_VALGRIND + CFG_VALGRIND += --leak-check=full \ + --error-exitcode=1 \ + --quiet --vex-iropt-level=0 \ + --suppressions=etc/x86.supp + endif endif ifdef CFG_GCC |