gccCrossStageStatic: Don't use MUSL, or any libc when targetting linux

Only the regular GCC is built with a libc dependency.
This commit is contained in:
John Ericson 2018-09-18 15:42:05 -04:00
parent f2bb59e710
commit 28a323e331

View File

@ -6484,7 +6484,6 @@ with pkgs;
libcCross1 =
if stdenv.targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
else if stdenv.targetPlatform.libc == "musl" then musl
else null;
binutils1 = wrapBintoolsWith {
bintools = binutils-unwrapped;