diff options
author | Ryan Burns <rtburns@protonmail.com> | 2021-03-15 19:22:57 -0700 |
---|---|---|
committer | Ryan Burns <rtburns@protonmail.com> | 2021-03-15 19:27:41 -0700 |
commit | 8ea1660b9e45f36d597af201b0f752478388ca66 (patch) | |
tree | 4449e08083edf7315d2e95eaca2a14d408d3fc12 /lib/systems/parse.nix | |
parent | fa5c65b7b3e26877c0e1d7a1f372f85db06d07f1 (diff) | |
download | nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.tar nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.tar.gz nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.tar.bz2 nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.tar.lz nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.tar.xz nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.tar.zst nixpkgs-8ea1660b9e45f36d597af201b0f752478388ca66.zip |
lib/systems: remove powerpc64 elfv1 support
I was specifying the ELF ABI using -elfv1 and -elfv2 target config suffixes, which are nonstandard and no longer work with gnu-config.
Diffstat (limited to 'lib/systems/parse.nix')
-rw-r--r-- | lib/systems/parse.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index 8e012622ccd..a06ac0d11f7 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -337,18 +337,10 @@ rec { The "gnu" ABI is ambiguous on 32-bit ARM. Use "gnueabi" or "gnueabihf" instead. ''; } - { assertion = platform: platform.system != "powerpc64-linux"; - message = '' - The "gnu" ABI is ambiguous on big-endian 64-bit PPC. Use "elfv1" or "elfv2" instead. - ''; - } ]; }; gnuabi64 = { abi = "64"; }; - elfv1 = { abi = "elfv1"; }; - elfv2 = { abi = "elfv2"; }; - musleabi = { float = "soft"; }; musleabihf = { float = "hard"; }; musl = {}; @@ -452,7 +444,6 @@ rec { if lib.versionAtLeast (parsed.cpu.version or "0") "6" then abis.gnueabihf else abis.gnueabi - else if cpu == "powerpc64" then abis.elfv2 else abis.gnu else abis.unknown; }; |