minimal-bootstrap.gcc10: Use wrapper

This commit is contained in:
Aleksi Hannula
2026-08-07 19:29:05 +03:00
parent 1f0dd24d5e
commit 804b8a84fa

View File

@@ -150,11 +150,21 @@ lib.makeScope
gnutar = gnutar-musl;
};
gcc10 = callPackage ./gcc/10.nix {
gcc10-unwrapped = callPackage ./gcc/10.nix {
gcc = gcc46-cxx;
gnumake = gnumake-musl;
gnutar = gnutar-latest;
};
gcc10 = callPackage ./gcc/wrapper.nix {
gcc-unwrapped = gcc10-unwrapped;
bash-build = bash;
libc = musl;
libgcc = gcc10-unwrapped;
libstdcxx = gcc10-unwrapped;
targetPlatform = hostPlatform;
dynamicLinkerGlob = "${musl}/lib/libc.so";
staticLibgcc = true;
};
gcc-latest-unwrapped = callPackage ./gcc/latest.nix {
gcc = gcc10;