On Fri, Aug 30, 2024 at 7:05 PM Tobias Burnus wrote:
>
> Noticed that -save-tmp is ignored for parallel LTO. With this patch, the
> result is now:
>
> make -f ./a.ltrans.mk -j2 all
> [Leaving LTRANS ./a.ltrans.mk]
>
> instead of
>
> make -f /tmp/ccXgtcjJ.mk -j2 all
> [Leaving LTRANS /tmp/ccXgtcjJ.
Noticed that -save-tmp is ignored for parallel LTO. With this patch, the
result is now:
make -f ./a.ltrans.mk -j2 all
[Leaving LTRANS ./a.ltrans.mk]
instead of
make -f /tmp/ccXgtcjJ.mk -j2 all
[Leaving LTRANS /tmp/ccXgtcjJ.mk]
OK for mainline?
Tobias
lto-wrapper: Honor -save-temps for ltrans