Revert "Merge pull request #28029 from cstrahan/hardening-fix"

This reverts commit 0dbc006760, reversing
changes made to cb7f774265.

Should go into staging.
This commit is contained in:
Matthew Bauer
2018-04-10 19:07:27 -05:00
parent 0dbc006760
commit 6c064e6b1f
9 changed files with 108 additions and 134 deletions
@@ -83,10 +83,6 @@ do
fi
done
# If unset, assume the default hardening flags.
: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
export NIX_HARDENING_ENABLE
# No local scope in sourced file
unset -v role_pre role_post cmd upper_case
set +u