diff options
author | David Tardon <dtardon@redhat.com> | 2011-12-23 12:21:19 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-12-23 12:21:19 +0100 |
commit | 3446cda18dd484bd3fe8f14e3ee0a9081e902430 (patch) | |
tree | 2256cb2cb4eddad087e81b3600a80e698dc644e2 /RepositoryExternal.mk | |
parent | dfbf0cabfa8310502e19642d56c746cc0d454d27 (diff) |
gbuildize jvmfwk
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 11896cd801d8..88366d9dbf57 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -901,6 +901,29 @@ endef endif # SYSTEM_CURL +ifneq ($(VALGRIND_CFLAGS),) + +define gb_LinkTarget__use_valgrind +$(call gb_LinkTarget_add_defs,$(1),\ + -DHAVE_VALGRIND_H \ +) + +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $(VALGRIND_CFLAGS) \ +) + +endef + +else # !VALGRIND_CFLAGS + +define gb_LinkTarget__use_valgrind + +endef + +endif # VALGRIND_CFLAGS + + # MacOSX-only frameworks ############################################ # (in alphabetical order) |