summaryrefslogtreecommitdiffstats
path: root/source/a/lvm2/lvm2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/lvm2/lvm2.SlackBuild')
-rwxr-xr-xsource/a/lvm2/lvm2.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/lvm2/lvm2.SlackBuild b/source/a/lvm2/lvm2.SlackBuild
index 05de03577..2a94a0d06 100755
--- a/source/a/lvm2/lvm2.SlackBuild
+++ b/source/a/lvm2/lvm2.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=lvm2
VERSION=$(echo LVM2.*.tar.?z | cut -f 2- -d . | 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