cc-wrapper/add-hardening.sh: fix spelling of stackclashprotection hardening (#446243)
This commit is contained in:
@@ -144,7 +144,7 @@ for flag in "${!hardeningEnableMap[@]}"; do
|
|||||||
hardeningCFlagsBefore+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
|
hardeningCFlagsBefore+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
|
||||||
;;
|
;;
|
||||||
stackclashprotection)
|
stackclashprotection)
|
||||||
if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stack-clash-protection >&2; fi
|
if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stackclashprotection >&2; fi
|
||||||
hardeningCFlagsBefore+=('-fstack-clash-protection')
|
hardeningCFlagsBefore+=('-fstack-clash-protection')
|
||||||
;;
|
;;
|
||||||
nostrictaliasing)
|
nostrictaliasing)
|
||||||
|
|||||||
Reference in New Issue
Block a user