summaryrefslogtreecommitdiff
path: root/source/a/xz/xz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/xz/xz.SlackBuild')
-rwxr-xr-xsource/a/xz/xz.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/xz/xz.SlackBuild b/source/a/xz/xz.SlackBuild
index 08b03ea5..16dc90bd 100755
--- a/source/a/xz/xz.SlackBuild
+++ b/source/a/xz/xz.SlackBuild
@@ -71,7 +71,7 @@ case "$ARCH" in
;;
esac
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM