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