This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
avoid 'jobserver unavailable:' warnings
authorDavid Mitchell <davem@iabyn.com>
Mon, 8 Dec 2014 20:26:04 +0000 (20:26 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 8 Dec 2014 20:26:04 +0000 (20:26 +0000)
commit8b51b1ff0a9db54985af9f69c82433388daab5c7
tree4968775795f60a5f33dcf7e1b1dfd16283c80695
parentc28567dd425f3fcf4adb161dd702c84b5b4380ee
avoid 'jobserver unavailable:' warnings

Under GNU make, an interaction between the top-level 'make -j N harness'
and a make invoked by cpan/ExtUtils-Constant/t/Constant.t
causes warnings like:
    warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

Fix this by stopping MAKEFLAGS being inherited by the children.
The other option, of prefixing all the '$(RUN_TESTS) choose' lines
in Makefile.SH with '+' is, I suspect, not portable.
runtests.SH