summaryrefslogtreecommitdiffstats
path: root/source/xap/gparted/gparted.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/gparted/gparted.SlackBuild')
-rwxr-xr-xsource/xap/gparted/gparted.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xap/gparted/gparted.SlackBuild b/source/xap/gparted/gparted.SlackBuild
index fd6a14761..ec072a59f 100755
--- a/source/xap/gparted/gparted.SlackBuild
+++ b/source/xap/gparted/gparted.SlackBuild
@@ -28,7 +28,7 @@ PKGNAM=gparted
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | 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