mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
swiftPackages.*: build with the default LLVM version
This commit is contained in:
@@ -467,7 +467,11 @@ 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.hostPlatform.isAarch64 "zerocallusedregs";
|
||||
# > clang-15-unwrapped: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
|
||||
hardeningDisable = lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
"zerocallusedregs"
|
||||
"stackclashprotection"
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
export SWIFT_SOURCE_ROOT="$PWD"
|
||||
|
||||
@@ -4,13 +4,12 @@
|
||||
newScope,
|
||||
darwin,
|
||||
llvmPackages,
|
||||
llvmPackages_15,
|
||||
overrideCC,
|
||||
overrideLibcxx,
|
||||
}:
|
||||
|
||||
let
|
||||
swiftLlvmPackages = llvmPackages_15;
|
||||
swiftLlvmPackages = llvmPackages;
|
||||
|
||||
self = rec {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user