{cc,bintools}-wrapper: fix removal of unsupported hardening flags
This commit is contained in:
@@ -11,7 +11,7 @@ done
|
|||||||
|
|
||||||
# Remove unsupported flags.
|
# Remove unsupported flags.
|
||||||
for flag in @hardening_unsupported_flags@; do
|
for flag in @hardening_unsupported_flags@; do
|
||||||
unset -v hardeningEnableMap["$flag"]
|
unset -v "hardeningEnableMap[$flag]"
|
||||||
done
|
done
|
||||||
|
|
||||||
if (( "${NIX_DEBUG:-0}" >= 1 )); then
|
if (( "${NIX_DEBUG:-0}" >= 1 )); then
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ done
|
|||||||
|
|
||||||
# Remove unsupported flags.
|
# Remove unsupported flags.
|
||||||
for flag in @hardening_unsupported_flags@; do
|
for flag in @hardening_unsupported_flags@; do
|
||||||
unset -v hardeningEnableMap["$flag"]
|
unset -v "hardeningEnableMap[$flag]"
|
||||||
done
|
done
|
||||||
|
|
||||||
if (( "${NIX_DEBUG:-0}" >= 1 )); then
|
if (( "${NIX_DEBUG:-0}" >= 1 )); then
|
||||||
|
|||||||
Reference in New Issue
Block a user