forked from mirrors/nixpkgs
lib/systems/parse: use ELFv2 by default for PPC64 BE
This commit is contained in:
parent
da2d9a2aca
commit
3fa4274ff6
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue