forked from mirrors/nixpkgs
gccCrossStageStatic: use musl to ensure dynamic linker is right
This commit is contained in:
parent
5a8002873e
commit
e390b45c14
|
@ -5836,6 +5836,7 @@ with pkgs;
|
||||||
libcCross1 =
|
libcCross1 =
|
||||||
if targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
|
if targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
|
||||||
else if targetPlatform.libc == "libSystem" then darwin.xcode
|
else if targetPlatform.libc == "libSystem" then darwin.xcode
|
||||||
|
else if targetPlatform.libc == "musl" then musl
|
||||||
else null;
|
else null;
|
||||||
binutils1 = wrapBintoolsWith {
|
binutils1 = wrapBintoolsWith {
|
||||||
bintools = binutils-unwrapped;
|
bintools = binutils-unwrapped;
|
||||||
|
|
Loading…
Reference in a new issue