cc-wrapper/add-hardening.sh: fix spelling of stackclashprotection hardening (#446243)

This commit is contained in:
Sandro
2025-10-23 19:08:06 +00:00
committed by GitHub

View File

@@ -144,7 +144,7 @@ for flag in "${!hardeningEnableMap[@]}"; do
hardeningCFlagsBefore+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
;;
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')
;;
nostrictaliasing)