We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f963eb2 commit 928e3e4Copy full SHA for 928e3e4
mk/platform.mk
@@ -64,14 +64,18 @@ define DEF_GOOD_VALGRIND
64
ifeq ($(OSTYPE_$(1)),unknown-linux-gnu)
65
GOOD_VALGRIND_$(1) = 1
66
endif
67
- ifneq (,$(filter $(OSTYPE_$(1)),darwin freebsd))
68
- ifeq (HOST_$(1),x86_64)
+ ifneq (,$(filter $(OSTYPE_$(1)),apple-darwin freebsd))
+ ifeq ($(HOST_$(1)),x86_64)
69
70
71
72
+ ifdef GOOD_VALGRIND_$(t)
73
+ $$(info cfg: have good valgrind for $(t))
74
+ else
75
+ $$(info cfg: no good valgrind for $(t))
76
+ endif
77
endef
78
$(foreach t,$(CFG_TARGET),$(eval $(call DEF_GOOD_VALGRIND,$(t))))
-$(foreach t,$(CFG_TARGET),$(info cfg: good valgrind for $(t) is $(GOOD_VALGRIND_$(t))))
79
80
ifneq ($(findstring linux,$(CFG_OSTYPE)),)
81
ifdef CFG_PERF
0 commit comments