This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] -fwhopr=jobserver
>
>> So for this reason it would be really nice to have things as transparent
>> as possible. I guess GNU Make is not nice enough to drop us some environment
>> variable or something? :(
>
> There are some, but not sure they are unique.
>
> Maybe we can fix make. The other problem currently is that you have to
> mark the rule
> with + to force jobserver for the rule, otherwise it only does that when
> it thinks
> you're invoking a submake. I was thinking about adding a new option to
> make to force
> this for all rules, to avoid hacking makefiles everywhere.
>
> While doing that could also add a new environment variable for this.
>
> But short of hacking make I think my patch is a reasonable improvement,
> won't you agree?
Sure. I guess we won't avoid some GNU make changes then that will be hard :(
Honzz
>
> -Andi
>