diff options
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL index 5a5628ba..d0652410 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -196,7 +196,8 @@ WriteMakefile( ); sub MY::postamble { - my $N = (`{ getconf _NPROCESSORS_ONLN || nproc; } 2>/dev/null` || 1); + my $N = (`{ getconf _NPROCESSORS_ONLN || getconf NPROCESSORS_ONLN || + gnproc || nproc; } 2>/dev/null` || 1); $N += 1; # account for sleeps in some tests (and makes an IV) <<EOF; PROVE = prove |