On 22/11/16 16:54 +0100, Marc Glisse wrote:
On Tue, 22 Nov 2016, Uros Bizjak wrote:

New makes (e.g. GNU Make 4.2.1) pass -j argument in MFLAGS is a
different way. While older makes pass only "-j", newer makes pass e.g.
"-j4" when -j is specified on the command line. The detection of "-j"
make argument doesn't work in the later case.

Attached patch reworks this functionality to detect -j correctly in all cases.

Hello,

I didn't read the patch, but do you think this also fixes PR 53155 ?

No, probably not, as it only changes the "-j N" case, not the "-j"
case in your PR, which doesn't match because the -j gets combined with
other make flags.

Reply via email to