summaryrefslogtreecommitdiffstats
path: root/source/d/oprofile/oprofile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/oprofile/oprofile.SlackBuild')
-rwxr-xr-xsource/d/oprofile/oprofile.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/oprofile/oprofile.SlackBuild b/source/d/oprofile/oprofile.SlackBuild
index 93d804c5f..84f0240ac 100755
--- a/source/d/oprofile/oprofile.SlackBuild
+++ b/source/d/oprofile/oprofile.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=oprofile
VERSION=${VERSION:-$(echo oprofile-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-5}
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then