summaryrefslogtreecommitdiffstats
path: root/source/d/ninja/ninja.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/ninja/ninja.SlackBuild')
-rwxr-xr-xsource/d/ninja/ninja.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/ninja/ninja.SlackBuild b/source/d/ninja/ninja.SlackBuild
index 007cc6d1d..4b66bdf0d 100755
--- a/source/d/ninja/ninja.SlackBuild
+++ b/source/d/ninja/ninja.SlackBuild
@@ -27,7 +27,7 @@ PKGNAM=ninja
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-2}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then