3
0
Fork 0
forked from mirrors/nixpkgs

{cc,bintools}-wrapper: fix removal of unsupported hardening flags

This commit is contained in:
Piotr Bogdan 2018-04-14 15:16:34 +01:00
parent 7e7f470132
commit 4707dc6454
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ done
# Remove unsupported flags.
for flag in @hardening_unsupported_flags@; do
unset -v hardeningEnableMap["$flag"]
unset -v "hardeningEnableMap[$flag]"
done
if (( "${NIX_DEBUG:-0}" >= 1 )); then

View file

@ -11,7 +11,7 @@ done
# Remove unsupported flags.
for flag in @hardening_unsupported_flags@; do
unset -v hardeningEnableMap["$flag"]
unset -v "hardeningEnableMap[$flag]"
done
if (( "${NIX_DEBUG:-0}" >= 1 )); then