mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
gcc11: mark as bad on aarch64-darwin when building a cross-compiler
This commit is contained in:
parent
fe27958aed
commit
4a538d6b3d
@ -420,6 +420,8 @@ lib.pipe ((callFile ./common/builder.nix {}) ({
|
||||
;
|
||||
} // lib.optionalAttrs (!atLeast11) {
|
||||
badPlatforms = if !(is48 || is49) then [ "aarch64-darwin" ] else lib.platforms.darwin;
|
||||
} // lib.optionalAttrs is11 {
|
||||
badPlatforms = if targetPlatform != hostPlatform then [ "aarch64-darwin" ] else [ ];
|
||||
};
|
||||
} // lib.optionalAttrs (!atLeast10 && stdenv.targetPlatform.isDarwin) {
|
||||
# GCC <10 requires default cctools `strip` instead of `llvm-strip` used by Darwin bintools.
|
||||
|
Loading…
Reference in New Issue
Block a user