summaryrefslogtreecommitdiff
path: root/source/l/newt/newt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/newt/newt.SlackBuild')
-rwxr-xr-xsource/l/newt/newt.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/newt/newt.SlackBuild b/source/l/newt/newt.SlackBuild
index 4cc10448..e3c58470 100755
--- a/source/l/newt/newt.SlackBuild
+++ b/source/l/newt/newt.SlackBuild
@@ -62,7 +62,7 @@ else
LIBDIRSUFFIX=""
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
PYTHONLIB=$( python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' )
PYTHON3LIB=$( python3 -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' )