about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2015-12-13 10:09:52 -0500
committerTamir Duberstein <tamird@gmail.com>2015-12-18 06:53:38 -0500
commit928e3e4e44156c999abca8468a11723e2104b962 (patch)
tree60024cb1264d5106b38137e8b0c20652c8caf5be
parentf963eb2870f6e2b972cd9d432dc0ece954ab6452 (diff)
downloadrust-928e3e4e44156c999abca8468a11723e2104b962.tar.gz
rust-928e3e4e44156c999abca8468a11723e2104b962.zip
mk: actually run valgrind on x86_64-apple-darwin
-rw-r--r--mk/platform.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/mk/platform.mk b/mk/platform.mk
index fd8416e8a6e..bb6957bd790 100644
--- a/mk/platform.mk
+++ b/mk/platform.mk
@@ -64,14 +64,18 @@ define DEF_GOOD_VALGRIND
   ifeq ($(OSTYPE_$(1)),unknown-linux-gnu)
     GOOD_VALGRIND_$(1) = 1
   endif
-  ifneq (,$(filter $(OSTYPE_$(1)),darwin freebsd))
-    ifeq (HOST_$(1),x86_64)
+  ifneq (,$(filter $(OSTYPE_$(1)),apple-darwin freebsd))
+    ifeq ($(HOST_$(1)),x86_64)
       GOOD_VALGRIND_$(1) = 1
     endif
   endif
+  ifdef GOOD_VALGRIND_$(t)
+    $$(info cfg: have good valgrind for $(t))
+  else
+    $$(info cfg: no good valgrind for $(t))
+  endif
 endef
 $(foreach t,$(CFG_TARGET),$(eval $(call DEF_GOOD_VALGRIND,$(t))))
-$(foreach t,$(CFG_TARGET),$(info cfg: good valgrind for $(t) is $(GOOD_VALGRIND_$(t))))
 
 ifneq ($(findstring linux,$(CFG_OSTYPE)),)
   ifdef CFG_PERF