lto-wrapper: Honor -save-temps for ltrans' makefile
gcc/ChangeLog: * lto-wrapper.cc (run_gcc): Honor -save-temps for makefile name.
This commit is contained in:
parent
571d0450b2
commit
6640a59fed
1 changed files with 4 additions and 1 deletions
|
@ -1994,7 +1994,10 @@ cont:
|
|||
|
||||
if (parallel)
|
||||
{
|
||||
makefile = make_temp_file (".mk");
|
||||
if (save_temps)
|
||||
makefile = concat (dumppfx, "ltrans.mk", NULL);
|
||||
else
|
||||
makefile = make_temp_file (".mk");
|
||||
mstream = fopen (makefile, "w");
|
||||
qsort (ltrans_priorities, nr, sizeof (int) * 2, cmp_priority);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue