summaryrefslogtreecommitdiffstats
path: root/source/d/gdb/gdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/gdb/gdb.SlackBuild')
-rwxr-xr-xsource/d/gdb/gdb.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/gdb/gdb.SlackBuild b/source/d/gdb/gdb.SlackBuild
index e697bf4a4..92cc11f88 100755
--- a/source/d/gdb/gdb.SlackBuild
+++ b/source/d/gdb/gdb.SlackBuild
@@ -26,7 +26,7 @@ PKGNAM=gdb
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -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