nix: Don't use ld.gold for powerpc64 cross (#441709)
This commit is contained in:
@@ -156,6 +156,10 @@ let
|
||||
// lib.optionalAttrs (
|
||||
stdenv.isLinux
|
||||
&& !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux")
|
||||
&& !(
|
||||
stdenv.buildPlatform.config != stdenv.hostPlatform.config
|
||||
&& stdenv.hostPlatform.system == "powerpc64-linux"
|
||||
)
|
||||
&& !(stdenv.system == "loongarch64-linux")
|
||||
&& !(stdenv.hostPlatform.useLLVM or false)
|
||||
) { LDFLAGS = "-fuse-ld=gold"; };
|
||||
|
||||
Reference in New Issue
Block a user