summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-18 17:13:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-18 17:16:15 +0100
commit535ad5b239b6daa61c5fbaf6b644f66640b923b8 (patch)
tree2c82a4b70059fea60190f2aefda07b97aebc85ee /solenv
parentResolves: rhbz#1193971 clear hard-coded char props in table cells... (diff)
downloadcore-535ad5b239b6daa61c5fbaf6b644f66640b923b8.tar.gz
core-535ad5b239b6daa61c5fbaf6b644f66640b923b8.zip
Also mention -fstack-protector-strong when linking
...there appear to be GCC tool-chains (like the one employed by xdg-app) that need some libssp_nonshared.a linked in for -fstack-protector-strong behind the scenes. Change-Id: Ia4dd8b11d26f3dc7fec231d6b8b7950f003333ce
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 7acd06808471..89f151254c1c 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -99,6 +99,7 @@ endif
ifeq ($(HAVE_GCC_STACK_PROTECTOR_STRONG),TRUE)
gb_CFLAGS_COMMON += -fstack-protector-strong
gb_CXXFLAGS_COMMON += -fstack-protector-strong
+gb_LinkTarget_LDFLAGS += -fstack-protector-strong
endif
gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror)