summaryrefslogtreecommitdiff
path: root/source/n/dnsmasq/dnsmasq.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/dnsmasq/dnsmasq.SlackBuild')
-rwxr-xr-xsource/n/dnsmasq/dnsmasq.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/dnsmasq/dnsmasq.SlackBuild b/source/n/dnsmasq/dnsmasq.SlackBuild
index 3ad8ca38..97968a8e 100755
--- a/source/n/dnsmasq/dnsmasq.SlackBuild
+++ b/source/n/dnsmasq/dnsmasq.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=dnsmasq
VERSION=${VERSION:-$(echo dnsmasq-*.tar.xz | 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