Merge pull request #283460 from rodarima/fix-pkgs-static-gcc-march
pkgsStatic: Pass hostPlatform.gcc attribute
This commit is contained in:
commit
cab94ab46e
@ -281,8 +281,8 @@ let
|
|||||||
if stdenv.isLinux
|
if stdenv.isLinux
|
||||||
then makeMuslParsedPlatform stdenv.hostPlatform.parsed
|
then makeMuslParsedPlatform stdenv.hostPlatform.parsed
|
||||||
else stdenv.hostPlatform.parsed;
|
else stdenv.hostPlatform.parsed;
|
||||||
} // lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") {
|
gcc = lib.optionalAttrs (stdenv.hostPlatform.system == "powerpc64-linux") { abi = "elfv2"; } //
|
||||||
gcc.abi = "elfv2";
|
stdenv.hostPlatform.gcc or {};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user