summaryrefslogtreecommitdiff
path: root/source/l/readline/readline.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/readline/readline.SlackBuild')
-rwxr-xr-xsource/l/readline/readline.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/readline/readline.SlackBuild b/source/l/readline/readline.SlackBuild
index 776482ab..d31a78f4 100755
--- a/source/l/readline/readline.SlackBuild
+++ b/source/l/readline/readline.SlackBuild
@@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
esac
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-readline