summaryrefslogtreecommitdiff
path: root/source/ap/tmux
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/tmux')
-rwxr-xr-xsource/ap/tmux/tmux.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/tmux/tmux.SlackBuild b/source/ap/tmux/tmux.SlackBuild
index ccd43d99..21b93ef2 100755
--- a/source/ap/tmux/tmux.SlackBuild
+++ b/source/ap/tmux/tmux.SlackBuild
@@ -45,7 +45,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mcpu=i686"