summaryrefslogtreecommitdiffstats
path: root/source/kde/kde.options
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde.options')
-rw-r--r--source/kde/kde.options4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/kde/kde.options b/source/kde/kde.options
index 0557cb07d..873c72307 100644
--- a/source/kde/kde.options
+++ b/source/kde/kde.options
@@ -47,9 +47,7 @@ if [ -z "$SLKCFLAGS" ]; then
fi
# Use this to set the number of parallel make jobs:
-if [ -z "$NUMJOBS" ]; then
- export NUMJOBS="-j7"
-fi
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Additional cmake flags that are spanned across the KDE modules
# Do not use "final build" unless we build an actual release.