Revert "cc-wrapper: fix darwin"
This reverts commit c3a8595276.
The stack protector hardening breaks the llvm_4 build.
This commit is contained in:
@@ -52,7 +52,7 @@ if [[ ! $hardeningDisable =~ "all" ]]; then
|
|||||||
;;
|
;;
|
||||||
stackcheck)
|
stackcheck)
|
||||||
if [[ -n "$NIX_DEBUG" ]]; then echo HARDENING: enabling stackcheck >&2; fi
|
if [[ -n "$NIX_DEBUG" ]]; then echo HARDENING: enabling stackcheck >&2; fi
|
||||||
hardeningCFlags+=('-fstack-check')
|
hardeningCFlags+=('-fstack-check=specific')
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Hardening flag unknown: $flag" >&2
|
echo "Hardening flag unknown: $flag" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user