summaryrefslogtreecommitdiff
path: root/source/l/opusfile/opusfile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/opusfile/opusfile.SlackBuild')
-rwxr-xr-xsource/l/opusfile/opusfile.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/l/opusfile/opusfile.SlackBuild b/source/l/opusfile/opusfile.SlackBuild
index fcfa04c4..b180340b 100755
--- a/source/l/opusfile/opusfile.SlackBuild
+++ b/source/l/opusfile/opusfile.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=opusfile
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 2- -d -)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -45,7 +45,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"