summaryrefslogtreecommitdiff
path: root/source/l/jasper/jasper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/jasper/jasper.SlackBuild')
-rwxr-xr-xsource/l/jasper/jasper.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/l/jasper/jasper.SlackBuild b/source/l/jasper/jasper.SlackBuild
index 4c637d33..373069d0 100755
--- a/source/l/jasper/jasper.SlackBuild
+++ b/source/l/jasper/jasper.SlackBuild
@@ -46,6 +46,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"
LIBDIRSUFFIX=""