diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-18 17:13:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-18 17:16:15 +0100 |
commit | 535ad5b239b6daa61c5fbaf6b644f66640b923b8 (patch) | |
tree | 2c82a4b70059fea60190f2aefda07b97aebc85ee | |
parent | b14259b946686c753c0df42c519fc2537e871601 (diff) |
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
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 1 |
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) |