summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-30 08:29:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-30 08:29:18 +0200
commitb888512fcbff5bf5ae4d30e82ed51a792ceb1839 (patch)
tree9a249b7f9e90357e9ae220ce6bb46d2230d53db3 /solenv/gbuild
parentbeab021ffe57cf6004971d4f285984b6debe5b5f (diff)
Fix -Wl,-z,origin -Wl,-rpath,... quoting
Change-Id: I65eac6ab34d2d54eeaa2bc14838711f700d0d535
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/platform/unxgcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index cb1493dbc037..4938d95405f4 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -297,7 +297,7 @@ gb_Library_LAYER := \
$(foreach lib,$(gb_Library_EXTENSIONLIBS),$(lib):OXT) \
define gb_Library__get_rpath
-$(if $(1),$(strip '-Wl,-z,origin -Wl,-rpath,$(1)' '-Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)'))
+$(if $(1),$(strip -Wl,-z,origin '-Wl,-rpath,$(1)' '-Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)'))
endef
define gb_Library_get_rpath
@@ -338,7 +338,7 @@ gb_Executable_LAYER := \
define gb_Executable_get_rpath
-'-Wl,-z,origin -Wl,-rpath,$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1)))' \
+-Wl,-z,origin '-Wl,-rpath,$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1)))' \
-Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)
endef