Re: [PATCH] lto: Remove link() to fix build with MinGW [PR118238]

2025-01-13 Thread Richard Biener
On Mon, 13 Jan 2025, Michal Jires wrote: > I used link() to create cheap copies of Incremental LTO cache contents > to prevent their deletion once linking is finished. > This is unnecessary, since output_files are deleted in our lto-plugin > and not in the linker itself. > > Bootstrapped/regteste

[PATCH] lto: Remove link() to fix build with MinGW [PR118238]

2025-01-13 Thread Michal Jires
I used link() to create cheap copies of Incremental LTO cache contents to prevent their deletion once linking is finished. This is unnecessary, since output_files are deleted in our lto-plugin and not in the linker itself. Bootstrapped/regtested on x86_64-linux. lto-wrapper now again builds on Min