3
0
Fork 0
forked from mirrors/nixpkgs

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" if lib.versionAtLeast (parsed.cpu.version or "0") "6"
then abis.gnueabihf then abis.gnueabihf
else abis.gnueabi else abis.gnueabi
# Default ppc64 BE to ELFv2
else if isPower64 parsed && isBigEndian parsed then abis.gnuabielfv2
else abis.gnu else abis.gnu
else abis.unknown; else abis.unknown;
}; };