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