Merge pull request #38941 from pbogdan/hardening-unsupported-flags

{cc,bintools}-wrapper: fix removal of unsupported hardening flags
This commit is contained in:
John Ericson 2018-04-14 18:31:23 -04:00 committed by GitHub
commit c0e58f8074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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