summaryrefslogtreecommitdiff
path: root/source/l/libmng/libmng.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libmng/libmng.SlackBuild')
-rwxr-xr-xsource/l/libmng/libmng.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/libmng/libmng.SlackBuild b/source/l/libmng/libmng.SlackBuild
index ae00c7b6..fccee115 100755
--- a/source/l/libmng/libmng.SlackBuild
+++ b/source/l/libmng/libmng.SlackBuild
@@ -49,7 +49,7 @@ PKG=$TMP/package-${PKGNAM}
rm -rf $PKG
mkdir -p $TMP $PKG
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"