summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-05 13:05:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-05 16:36:39 +0200
commit781f64f1ef86073d854c697365d92bb99080241b (patch)
treea9f9ce08838b9a2c0e1b773cbae28423c2a460fb /mk
parent57c24354dc02e5016f30cae3acf452d331945ade (diff)
rework ssp support, use static version of libssp
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index 280c5f6e4..2074d6c52 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -110,8 +110,8 @@ TARGET_LDFLAGS+= -static
endif
ifneq ($(ADK_TARGET_USE_SSP),)
-TARGET_CFLAGS+= -fstack-protector-all
-TARGET_CXXFLAGS+= -fstack-protector-all
+TARGET_CFLAGS+= -fstack-protector-all --param=ssp-buffer-size=4
+TARGET_CXXFLAGS+= -fstack-protector-all --param=ssp-buffer-size=4
TARGET_LDFLAGS+= -fstack-protector-all
endif