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