cc-wrapper: Increase number of functions for stackprotector
This commit is contained in:
parent
ab1092875a
commit
b2b499e6c4
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue