summary refs log tree commit diff
path: root/lib/systems/examples.nix
diff options
context:
space:
mode:
authorRyan Burns2021-03-15 19:22:57 -0700
committerRyan Burns2021-03-15 19:27:41 -0700
commit8ea1660b9e45f36d597af201b0f752478388ca66 (patch)
tree4449e08083edf7315d2e95eaca2a14d408d3fc12 /lib/systems/examples.nix
parentfa5c65b7b3e26877c0e1d7a1f372f85db06d07f1 (diff)
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/examples.nix')
-rw-r--r--lib/systems/examples.nix10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 8a43b86db701..81dc893871d3 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -21,14 +21,10 @@ rec {
     config = "powerpc64le-unknown-linux-musl";
   };
 
-  ppc64-elfv1 = {
-    config = "powerpc64-unknown-linux-elfv1";
-  };
-  ppc64-elfv2 = {
-    config = "powerpc64-unknown-linux-elfv2";
+  ppc64 = {
+    config = "powerpc64-unknown-linux-gnu";
+    gcc = { abi = "elfv2"; }; # for gcc configuration
   };
-  ppc64 = ppc64-elfv2; # default to modern elfv2
-
   ppc64-musl = {
     config = "powerpc64-unknown-linux-musl";
     gcc = { abi = "elfv2"; }; # for gcc configuration