summaryrefslogtreecommitdiffstats
path: root/source/n/rsync/rsync.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/rsync/rsync.SlackBuild')
-rwxr-xr-xsource/n/rsync/rsync.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/n/rsync/rsync.SlackBuild b/source/n/rsync/rsync.SlackBuild
index cba7a17c0..3a97cd072 100755
--- a/source/n/rsync/rsync.SlackBuild
+++ b/source/n/rsync/rsync.SlackBuild
@@ -44,6 +44,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "s390" ]; then