gccCrossStageStatic: Don't use MUSL, or any libc when targetting linux
Only the regular GCC is built with a libc dependency.
commit28a323e3310f0ae0827d11ad3d8af1bbcfef93db
authorJohn Ericson <John.Ericson@Obsidian.Systems>
dateTue 18 Sep 2018, 15:42 (8 years ago)
parentf2bb59e
pkgs/top-level/all-packages.nix−1
@@ -6484,7 +6484,6 @@ with pkgs;
64846484 libcCross1 =
64856485 if stdenv.targetPlatform.libc == "msvcrt" then targetPackages.windows.mingw_w64_headers
64866486 else if stdenv.targetPlatform.libc == "libSystem" then darwin.xcode
6487− else if stdenv.targetPlatform.libc == "musl" then musl
64886487 else null;
64896488 binutils1 = wrapBintoolsWith {
64906489 bintools = binutils-unwrapped;