Skip to content

Commit 82ff1f5

Browse files
minijacksonMindavi
authored andcommitted
pkgsStatic: handle ELFv1/2 ABIs
1 parent 345595a commit 82ff1f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkgs/top-level/stage.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ let
7878
gnueabihf = lib.systems.parse.abis.musleabihf;
7979
gnuabin32 = lib.systems.parse.abis.muslabin32;
8080
gnuabi64 = lib.systems.parse.abis.muslabi64;
81+
gnuabielfv2 = lib.systems.parse.abis.musl;
82+
gnuabielfv1 = lib.systems.parse.abis.musl;
8183
# The following two entries ensure that this function is idempotent.
8284
musleabi = lib.systems.parse.abis.musleabi;
8385
musleabihf = lib.systems.parse.abis.musleabihf;
@@ -257,8 +259,6 @@ let
257259
crossSystem = {
258260
isStatic = true;
259261
parsed = makeMuslParsedPlatform stdenv.hostPlatform.parsed;
260-
} // lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") {
261-
gcc.abi = "elfv2";
262262
};
263263
});
264264
};

0 commit comments

Comments
 (0)