forked from mirrors/nixpkgs
cc-wrapper: fix darwin
Clang doesn't support -fstack-check=specific, only -fstack-check. Still a noop, though.
This commit is contained in:
parent
bf08c50cbc
commit
c3a8595276
|
@ -52,7 +52,7 @@ if [[ ! $hardeningDisable =~ "all" ]]; then
|
|||
;;
|
||||
stackcheck)
|
||||
if [[ -n "$NIX_DEBUG" ]]; then echo HARDENING: enabling stackcheck >&2; fi
|
||||
hardeningCFlags+=('-fstack-check=specific')
|
||||
hardeningCFlags+=('-fstack-check')
|
||||
;;
|
||||
*)
|
||||
echo "Hardening flag unknown: $flag" >&2
|
||||
|
|
Loading…
Reference in a new issue