summaryrefslogtreecommitdiff
path: root/source/d/re2c
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/re2c')
-rwxr-xr-xsource/d/re2c/re2c.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/re2c/re2c.SlackBuild b/source/d/re2c/re2c.SlackBuild
index 98f8976f..f4a06128 100755
--- a/source/d/re2c/re2c.SlackBuild
+++ b/source/d/re2c/re2c.SlackBuild
@@ -46,7 +46,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM