summaryrefslogtreecommitdiffstats
path: root/source/l/fftw/fftw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/fftw/fftw.SlackBuild')
-rwxr-xr-xsource/l/fftw/fftw.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/fftw/fftw.SlackBuild b/source/l/fftw/fftw.SlackBuild
index 77a155494..95e2fd8d5 100755
--- a/source/l/fftw/fftw.SlackBuild
+++ b/source/l/fftw/fftw.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=fftw
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -f 2- -d - | rev | cut -f 3- -d . | rev)}
BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then