cc-wrapper: fix inverted logic around fortify & fortify3 mutual exclusion
This commit is contained in:
parent
fc3641aa1e
commit
436b0d9e1f
@ -19,7 +19,7 @@ for flag in @hardening_unsupported_flags@; do
|
||||
done
|
||||
|
||||
# make fortify and fortify3 mutually exclusive
|
||||
if [[ -z "${hardeningEnableMap[fortify3]-}" ]]; then
|
||||
if [[ -n "${hardeningEnableMap[fortify3]-}" ]]; then
|
||||
unset -v "hardeningEnableMap['fortify']"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user