From 82ff1f5db12f862e226e84254e54a10879f1629b Mon Sep 17 00:00:00 2001 From: Minijackson Date: Mon, 25 Jul 2022 12:23:45 +0200 Subject: [PATCH] pkgsStatic: handle ELFv1/2 ABIs --- pkgs/top-level/stage.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 422a7500516..21bbb52cc63 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -78,6 +78,8 @@ let gnueabihf = lib.systems.parse.abis.musleabihf; gnuabin32 = lib.systems.parse.abis.muslabin32; gnuabi64 = lib.systems.parse.abis.muslabi64; + gnuabielfv2 = lib.systems.parse.abis.musl; + gnuabielfv1 = lib.systems.parse.abis.musl; # The following two entries ensure that this function is idempotent. musleabi = lib.systems.parse.abis.musleabi; musleabihf = lib.systems.parse.abis.musleabihf; @@ -257,8 +259,6 @@ let crossSystem = { isStatic = true; parsed = makeMuslParsedPlatform stdenv.hostPlatform.parsed; - } // lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") { - gcc.abi = "elfv2"; }; }); };