forked from mirrors/nixpkgs
1f6366d38c
Was failing due to https://github.com/iains/gcc-darwin-arm64/issues/54, fix picked up in https://github.com/NixOS/nixpkgs/pull/186477.
12 lines
277 B
Bash
12 lines
277 B
Bash
getTargetRole
|
|
getTargetRoleWrapper
|
|
|
|
export FC${role_post}=@named_fc@
|
|
|
|
# If unset, assume the default hardening flags.
|
|
# These are different for fortran.
|
|
: ${NIX_HARDENING_ENABLE="stackprotector pic strictoverflow relro bindnow"}
|
|
export NIX_HARDENING_ENABLE
|
|
|
|
unset -v role_post
|