mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge remote-tracking branch 'origin/staging-next' into staging
This commit is contained in:
commit
967d49b8a8
74 changed files with 1772 additions and 1094 deletions
|
@ -251,6 +251,11 @@ let
|
|||
++ lib.optionals (targetPlatform.isMips && targetPlatform.parsed.abi.name == "gnu" && lib.versions.major version == "12") [
|
||||
"--disable-libsanitizer"
|
||||
]
|
||||
++ lib.optionals targetPlatform.isAlpha [
|
||||
# Workaround build failures like:
|
||||
# cc1: error: fp software completion requires '-mtrap-precision=i' [-Werror]
|
||||
"--disable-werror"
|
||||
]
|
||||
;
|
||||
|
||||
in configureFlags
|
||||
|
|
|
@ -48,6 +48,6 @@ in
|
|||
# https://www.openwall.com/lists/musl/2022/11/09/3
|
||||
#
|
||||
# 'parsed.cpu.family' won't be correct for every platform.
|
||||
+ lib.optionalString (stdenv.targetPlatform.isLoongArch64 || stdenv.targetPlatform.isS390) ''
|
||||
+ lib.optionalString (stdenv.targetPlatform.isLoongArch64 || stdenv.targetPlatform.isS390 || stdenv.targetPlatform.isAlpha) ''
|
||||
touch libgcc/config/${stdenv.targetPlatform.parsed.cpu.family}/crt{i,n}.S
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue