mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
swift: disable zerocallusedregs
on all AArch64
This commit is contained in:
parent
6bbe65701d
commit
b4bfb99048
@ -392,7 +392,7 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
# > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0'
|
||||
hardeningDisable = lib.optional stdenv.isDarwin "zerocallusedregs";
|
||||
hardeningDisable = lib.optional stdenv.isAarch64 "zerocallusedregs";
|
||||
|
||||
configurePhase = ''
|
||||
export SWIFT_SOURCE_ROOT="$PWD"
|
||||
|
Loading…
Reference in New Issue
Block a user