Skip to content

Commit

Permalink
Merge pull request #283460 from rodarima/fix-pkgs-static-gcc-march
Browse files Browse the repository at this point in the history
pkgsStatic: Pass hostPlatform.gcc attribute
  • Loading branch information
Aleksanaa authored May 16, 2024
2 parents b6f4037 + e4ee77f commit cab94ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/top-level/stage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ let
if stdenv.isLinux
then makeMuslParsedPlatform stdenv.hostPlatform.parsed
else stdenv.hostPlatform.parsed;
} // lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") {
gcc.abi = "elfv2";
gcc = lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") { abi = "elfv2"; } //
stdenv.hostPlatform.gcc or {};
};
});

Expand Down

0 comments on commit cab94ab

Please sign in to comment.