summaryrefslogtreecommitdiffstats
path: root/source/ap/sox
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/sox')
-rwxr-xr-xsource/ap/sox/sox.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/sox/sox.SlackBuild b/source/ap/sox/sox.SlackBuild
index 757f6d93c..5d29d7e22 100755
--- a/source/ap/sox/sox.SlackBuild
+++ b/source/ap/sox/sox.SlackBuild
@@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
esac
fi
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"