summaryrefslogtreecommitdiff
path: root/source/x/freeglut/freeglut.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/freeglut/freeglut.SlackBuild')
-rwxr-xr-xsource/x/freeglut/freeglut.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/x/freeglut/freeglut.SlackBuild b/source/x/freeglut/freeglut.SlackBuild
index d60a0bdb..935a71ce 100755
--- a/source/x/freeglut/freeglut.SlackBuild
+++ b/source/x/freeglut/freeglut.SlackBuild
@@ -29,7 +29,7 @@ PKGNAM=freeglut
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-2}
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
MARCH=$( uname -m )