cc-wrapper: Increase number of functions for stackprotector

This commit is contained in:
Franz Pletz 2016-03-07 01:29:11 +01:00
parent ab1092875a
commit b2b499e6c4

View file

@ -12,7 +12,7 @@ if [[ ! $hardeningDisable == "all" ]]; then
hardeningCFlags+=('-O2' '-D_FORTIFY_SOURCE=2')
;;
stackprotector)
hardeningCFlags+=('-fstack-protector-strong')
hardeningCFlags+=('-fstack-protector-strong' '--param ssp-buffer-size=4')
;;
pie)
hardeningCFlags+=('-fPIE')