summaryrefslogtreecommitdiff
path: root/source/d/perl
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/perl')
-rwxr-xr-xsource/d/perl/perl.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild
index 7ef0f6cd..5607a1d8 100755
--- a/source/d/perl/perl.SlackBuild
+++ b/source/d/perl/perl.SlackBuild
@@ -47,7 +47,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Set to "yes" to run tests:
MAKETEST=${MAKETEST:-no}