Revert "cc-wrapper: fix darwin"

This reverts commit c3a8595276.

The stack protector hardening breaks the llvm_4 build.
This commit is contained in:
Franz Pletz
2017-06-26 01:12:11 +02:00
parent 87fab3d6a5
commit a4252649bf

View File

@@ -52,7 +52,7 @@ if [[ ! $hardeningDisable =~ "all" ]]; then
;;
stackcheck)
if [[ -n "$NIX_DEBUG" ]]; then echo HARDENING: enabling stackcheck >&2; fi
hardeningCFlags+=('-fstack-check')
hardeningCFlags+=('-fstack-check=specific')
;;
*)
echo "Hardening flag unknown: $flag" >&2