summaryrefslogtreecommitdiff
path: root/source/ap/vim/vim-gvim.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/vim/vim-gvim.SlackBuild')
-rwxr-xr-xsource/ap/vim/vim-gvim.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/vim/vim-gvim.SlackBuild b/source/ap/vim/vim-gvim.SlackBuild
index 0f8ff384..f990bdfa 100755
--- a/source/ap/vim/vim-gvim.SlackBuild
+++ b/source/ap/vim/vim-gvim.SlackBuild
@@ -52,7 +52,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
PYVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)