diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-08-07 13:20:40 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2018-08-07 13:20:40 +0200 |
commit | 96d68bd48c77fa44e517c3380ee8f224cbce00e5 (patch) | |
tree | 76dcee68d9135d0477f405c6890f5c6b24f38e85 /ld | |
parent | df136d64fa2fd23052d7a5fcb7059c29d8e6385d (diff) | |
download | gdb-96d68bd48c77fa44e517c3380ee8f224cbce00e5.zip gdb-96d68bd48c77fa44e517c3380ee8f224cbce00e5.tar.gz gdb-96d68bd48c77fa44e517c3380ee8f224cbce00e5.tar.bz2 |
Support parallel make check with GNU make 4.2+
I noticed that make -jN check would run make check-single when using GNU
make 4.2.1.
In the end, it turned out that this is due to this change from the make
4.2 NEWS file:
* The amount of parallelism can be determined by querying MAKEFLAGS, even when
the job server is enabled (previously MAKEFLAGS would always contain only
"-j", with no number, when job server was enabled).
The fix is trivial: just accept an optional arg to -j in Makefile.in
(saw_dash_j). Tested on i386-pc-solaris2.11 with just make and make
-j/-jN with both make 3.82 and 4.2.1.
* Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
MAKEFLAGS.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions