swiftPackages.*: build with the default LLVM version

Emily 2153141b 37cad5df

+6 -3
+5 -1
pkgs/development/compilers/swift/compiler/default.nix
··· 467 ''; 468 469 # > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0' 470 - hardeningDisable = lib.optional stdenv.hostPlatform.isAarch64 "zerocallusedregs"; 471 472 configurePhase = '' 473 export SWIFT_SOURCE_ROOT="$PWD"
··· 467 ''; 468 469 # > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0' 470 + # > clang-15-unwrapped: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument] 471 + hardeningDisable = lib.optionals stdenv.hostPlatform.isAarch64 [ 472 + "zerocallusedregs" 473 + "stackclashprotection" 474 + ]; 475 476 configurePhase = '' 477 export SWIFT_SOURCE_ROOT="$PWD"
+1 -2
pkgs/development/compilers/swift/default.nix
··· 4 newScope, 5 darwin, 6 llvmPackages, 7 - llvmPackages_15, 8 overrideCC, 9 overrideLibcxx, 10 }: 11 12 let 13 - swiftLlvmPackages = llvmPackages_15; 14 15 self = rec { 16
··· 4 newScope, 5 darwin, 6 llvmPackages, 7 overrideCC, 8 overrideLibcxx, 9 }: 10 11 let 12 + swiftLlvmPackages = llvmPackages; 13 14 self = rec { 15