summaryrefslogtreecommitdiff
path: root/source/a/libgudev/libgudev.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/libgudev/libgudev.SlackBuild')
-rwxr-xr-xsource/a/libgudev/libgudev.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/libgudev/libgudev.SlackBuild b/source/a/libgudev/libgudev.SlackBuild
index 8d9f0e58..6dd427ff 100755
--- a/source/a/libgudev/libgudev.SlackBuild
+++ b/source/a/libgudev/libgudev.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=libgudev
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.* | cut -d - -f 2 | rev | cut -f 3- -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