diff options
author | Piotr Bogdan <ppbogdan@gmail.com> | 2018-04-14 15:16:34 +0100 |
---|---|---|
committer | Piotr Bogdan <ppbogdan@gmail.com> | 2018-04-14 15:16:34 +0100 |
commit | 4707dc6454904bee0bacd3a53829bcc76b4f0667 (patch) | |
tree | 1742b89806700ee74762bcbf205b0873c8a56703 /pkgs/build-support/cc-wrapper | |
parent | 7e7f470132f3408b811baa8c1cae54ff9121578c (diff) |
{cc,bintools}-wrapper: fix removal of unsupported hardening flags
Diffstat (limited to 'pkgs/build-support/cc-wrapper')
-rw-r--r-- | pkgs/build-support/cc-wrapper/add-hardening.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/cc-wrapper/add-hardening.sh b/pkgs/build-support/cc-wrapper/add-hardening.sh index 026e486714479..fc40fe7408b60 100644 --- a/pkgs/build-support/cc-wrapper/add-hardening.sh +++ b/pkgs/build-support/cc-wrapper/add-hardening.sh @@ -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 |