summaryrefslogtreecommitdiff
path: root/source/l/libedit
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libedit')
-rwxr-xr-xsource/l/libedit/libedit.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/libedit/libedit.SlackBuild b/source/l/libedit/libedit.SlackBuild
index 2798d9fc..8d19affe 100755
--- a/source/l/libedit/libedit.SlackBuild
+++ b/source/l/libedit/libedit.SlackBuild
@@ -30,7 +30,7 @@ VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1-2 -
PKGVER=$(echo $VERSION | tr - _)
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:--j7}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )