1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

lib/systems/parse: use ELFv2 by default for PPC64 BE

This commit is contained in:
Minijackson 2022-07-25 12:21:33 +02:00 committed by Rick van Schijndel
parent da2d9a2aca
commit 3fa4274ff6

View file

@ -475,6 +475,8 @@ rec {
if lib.versionAtLeast (parsed.cpu.version or "0") "6"
then abis.gnueabihf
else abis.gnueabi
# Default ppc64 BE to ELFv2
else if isPower64 parsed && isBigEndian parsed then abis.gnuabielfv2
else abis.gnu
else abis.unknown;
};