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