Skip to content

Commit

Permalink
add-hardening.sh: fix quotation
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Aug 23, 2016
1 parent 335d009 commit 07604ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/cc-wrapper/add-hardening.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ if [[ ! $hardeningDisable == "all" ]]; then
;;
relro)
if [[ -n "$NIX_DEBUG" ]]; then echo HARDENING: enabling relro >&2; fi
hardeningLDFlags+=('-z relro')
hardeningLDFlags+=('-z' 'relro')
;;
bindnow)
if [[ -n "$NIX_DEBUG" ]]; then echo HARDENING: enabling bindnow >&2; fi
hardeningLDFlags+=('-z now')
hardeningLDFlags+=('-z' 'now')
;;
*)
echo "Hardening flag unknown: $flag" >&2
Expand Down

0 comments on commit 07604ad

Please sign in to comment.