summaryrefslogtreecommitdiff
path: root/source/d/swig/swig.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/swig/swig.SlackBuild')
-rwxr-xr-xsource/d/swig/swig.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/swig/swig.SlackBuild b/source/d/swig/swig.SlackBuild
index 99f78f0c..e3b4982c 100755
--- a/source/d/swig/swig.SlackBuild
+++ b/source/d/swig/swig.SlackBuild
@@ -58,7 +58,7 @@ else
SLKCFLAGS="-O2"
fi
-NUMJOBS=${NUMJOBS:--j6}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
rm -rf $PKG
mkdir -p $TMP $PKG