summaryrefslogtreecommitdiff
path: root/source/d/ccache/ccache.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/ccache/ccache.SlackBuild')
-rwxr-xr-xsource/d/ccache/ccache.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/ccache/ccache.SlackBuild b/source/d/ccache/ccache.SlackBuild
index 0ffab156..0b4b235f 100755
--- a/source/d/ccache/ccache.SlackBuild
+++ b/source/d/ccache/ccache.SlackBuild
@@ -47,7 +47,7 @@ fi
TMP=${TMP:-/tmp}
PKG=$TMP/package-ccache
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
rm -rf $PKG
mkdir -p $TMP $PKG