summaryrefslogtreecommitdiffstats
path: root/source/l/gcr/gcr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/gcr/gcr.SlackBuild')
-rwxr-xr-xsource/l/gcr/gcr.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/gcr/gcr.SlackBuild b/source/l/gcr/gcr.SlackBuild
index 310968857..7f5d60d5e 100755
--- a/source/l/gcr/gcr.SlackBuild
+++ b/source/l/gcr/gcr.SlackBuild
@@ -44,7 +44,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM