summaryrefslogtreecommitdiffstats
path: root/kde
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-12-09 15:34:11 +0100
committer Eric Hameleers <alien@slackware.com>2018-12-09 15:34:11 +0100
commit08a126503b6bbfea77221256c3755ca9ebcd35cb (patch)
treeaeeb1c1761bc3ca1d79963f073070698e66e3eae /kde
parent0e226afff69109b60fb460b8bb4c16279b6ee465 (diff)
downloadktown-08a126503b6bbfea77221256c3755ca9ebcd35cb.tar.gz
ktown-08a126503b6bbfea77221256c3755ca9ebcd35cb.tar.xz
KDE: use number of available cores to parallellize
Using `nproc` is better than the old hardcoding to 7 parallel jobs.
Diffstat (limited to 'kde')
-rw-r--r--kde/kde.options2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde/kde.options b/kde/kde.options
index 1125561..ac89033 100644
--- a/kde/kde.options
+++ b/kde/kde.options
@@ -47,7 +47,7 @@ fi
# Use this to set the number of parallel make jobs:
if [ -z "$NUMJOBS" ]; then
- export NUMJOBS="-j7"
+ export NUMJOBS="-j$(nproc)"
fi
# Additional cmake flags that are spanned across the KDE modules