96588eb3de
This commit adds `gcc/common/checksum.nix`, which contains code common to both gcc11 and gcc12, implementing the `enableChecksum` feature. When gcc's built-in bootstrap (`--enable-bootstrap`) is used, gcc compiles itself three times and compares a hash of the unlinked `.o` files from the second and third compilation. The `enableChecksum=true` parameter performs the same comparison as part of the `postInstall` phase. Notably, `enableChecksum=true` can be used with `enableBootstrap=false`. Co-authored-by: Sandro <sandro.jaeckel@gmail.com> |
||
---|---|---|
.. | ||
bootstrap-files | ||
bootstrap-tools | ||
bootstrap-tools-musl | ||
default.nix | ||
make-bootstrap-tools-cross.nix | ||
make-bootstrap-tools.nix |