summaryrefslogtreecommitdiff
path: root/source/x/libdrm/libdrm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/libdrm/libdrm.SlackBuild')
-rwxr-xr-xsource/x/libdrm/libdrm.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/x/libdrm/libdrm.SlackBuild b/source/x/libdrm/libdrm.SlackBuild
index 2686a6e9..2b3c1544 100755
--- a/source/x/libdrm/libdrm.SlackBuild
+++ b/source/x/libdrm/libdrm.SlackBuild
@@ -43,7 +43,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}