summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-10-17 12:57:10 +0200
committerDavid Tardon <dtardon@redhat.com>2012-10-17 14:09:13 +0200
commitbd47dac253505ef1050aa38940c0c4e059236e45 (patch)
tree0d39c3d3b89d34a2a83186567e38121270d83ee6 /solenv
parent299433d148850d7b3561fe3fcd78968a52749f09 (diff)
add newlines
This is to avoid problems if the function is called from $(foreach . Change-Id: I355ebfbd7ca6db74cad28ffa1e45b467315e327f
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/LinkTarget.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 00c218697c11..1d7d66c8b5a3 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -662,15 +662,18 @@ endef
define gb_LinkTarget_add_ldflags
$(call gb_LinkTarget_get_target,$(1)) : T_LDFLAGS += $(2)
+
endef
# real use in RepositoryExternal.mk
define gb_LinkTarget_set_ldflags
$(call gb_LinkTarget_get_target,$(1)) : T_LDFLAGS := $(2)
+
endef
define gb_LinkTarget_add_libs
$(call gb_LinkTarget_get_target,$(1)) : LIBS += $(2)
+
endef
# remove platform specific standard libraries for linktarget $(1)
@@ -678,6 +681,7 @@ endef
# exceptional cases this disable method may be used
define gb_LinkTarget_disable_standard_system_libs
$(call gb_LinkTarget_get_target,$(1)) : LIBS := $$(filter-out $$(gb_STDLIBS),$$(LIBS))
+
endef
define gb_LinkTarget_add_api
@@ -1059,16 +1063,19 @@ endef
define gb_LinkTarget_set_targettype
$(call gb_LinkTarget_get_target,$(1)) \
$(call gb_LinkTarget_get_dep_target,$(1)) : TARGETTYPE := $(2)
+
endef
define gb_LinkTarget_set_x64
$(call gb_LinkTarget_get_target,$(1)) \
$(call gb_LinkTarget_get_dep_target,$(1)) : LIBRARY_X64 := $(2)
+
endef
define gb_LinkTarget_set_dlltarget
$(call gb_LinkTarget_get_clean_target,$(1)) \
$(call gb_LinkTarget_get_target,$(1)) : DLLTARGET := $(2)
+
endef
define gb_LinkTarget_set_auxtargets
@@ -1113,6 +1120,7 @@ endef
define gb_LinkTarget_add_sdi_headers
$(call gb_LinkTarget__add_internal_headers,$(1),$(foreach sdi,$(2),$(call gb_SdiTarget_get_target,$(sdi))))
$(call gb_LinkTarget_get_clean_target,$(1)) : $(foreach sdi,$(2),$(call gb_SdiTarget_get_clean_target,$(sdi)))
+
endef
define gb_LinkTarget_add_external_headers