mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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 New Issue
Block a user