summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-06-17 16:22:21 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-17 16:23:06 +0200
commit73e71be0770721cdd55f9e5873ba4aa1d3b38cd7 (patch)
tree84c8d6c4ccaa799d7cbf5a39ebb7e67abd1347aa /scripts
parentb99110b865addaee590be867e182173e088c8265 (diff)
downloadptxdist-73e71be0770721cdd55f9e5873ba4aa1d3b38cd7.tar.gz
ptxdist-73e71be0770721cdd55f9e5873ba4aa1d3b38cd7.tar.xz
wrapper: add more stack protector options
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/wrapper/libwrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/wrapper/libwrapper.sh b/scripts/wrapper/libwrapper.sh
index 665f2c764..113825e8d 100644
--- a/scripts/wrapper/libwrapper.sh
+++ b/scripts/wrapper/libwrapper.sh
@@ -168,6 +168,8 @@ cc_add_fortify() {
cc_add_stack() {
if ${STDLIB}; then
add_opt_arg TARGET_HARDEN_STACK "-fstack-protector" "--param=ssp-buffer-size=4"
+ add_opt_arg TARGET_HARDEN_STACK_STRONG "-fstack-protector-strong"
+ add_opt_arg TARGET_HARDEN_STACK_ALL "-fstack-protector-all"
fi
}