aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-03 14:31:25 -0800
committerPatrick Walton <[email protected]>2011-03-03 14:31:25 -0800
commit7f74d4d4f2e0635d644be6e2259973b5cf559a2e (patch)
tree15637146dd05bf68de5ee7b569482eddd2010546 /src
parentrustc: Disallow calling type_of() on dynamically-sized types (diff)
downloadrust-7f74d4d4f2e0635d644be6e2259973b5cf559a2e.tar.xz
rust-7f74d4d4f2e0635d644be6e2259973b5cf559a2e.zip
Turn on Valgrind for Mac
Diffstat (limited to 'src')
-rw-r--r--src/Makefile21
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