mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-06 19:51:51 +08:00
Make -flto=jobserver parallel again.
2019-08-23 Martin Liska <mliska@suse.cz> * lto-wrapper.c (run_gcc): When setting jobserver set also parallel to 1. This was done so before r273908. From-SVN: r274849
This commit is contained in:
parent
3fa7e353ec
commit
19566bdda5
@ -1,3 +1,8 @@
|
||||
2019-08-23 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* lto-wrapper.c (run_gcc): When setting jobserver
|
||||
set also parallel to 1. This was done so before r273908.
|
||||
|
||||
2019-08-23 Dennis Zhang <dennis.zhang@arm.com>
|
||||
|
||||
* config/arm/arm-cpus.in (cortex-m35p): New entry.
|
||||
|
@ -1374,7 +1374,10 @@ run_gcc (unsigned argc, char *argv[])
|
||||
|
||||
case OPT_flto_:
|
||||
if (strcmp (option->arg, "jobserver") == 0)
|
||||
jobserver = 1;
|
||||
{
|
||||
parallel = 1;
|
||||
jobserver = 1;
|
||||
}
|
||||
else if (strcmp (option->arg, "auto") == 0)
|
||||
{
|
||||
parallel = 1;
|
||||
@ -1423,8 +1426,11 @@ run_gcc (unsigned argc, char *argv[])
|
||||
auto_parallel = 0;
|
||||
parallel = 0;
|
||||
}
|
||||
else if (!jobserver)
|
||||
jobserver = jobserver_active_p ();
|
||||
else if (!jobserver && jobserver_active_p ())
|
||||
{
|
||||
parallel = 1;
|
||||
jobserver = 1;
|
||||
}
|
||||
|
||||
if (linker_output)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user