summaryrefslogtreecommitdiff
path: root/scripts/build-all.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-all.py')
-rwxr-xr-xscripts/build-all.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-all.py b/scripts/build-all.py
index 92f266ff8b03..fb42c8699126 100755
--- a/scripts/build-all.py
+++ b/scripts/build-all.py
@@ -327,7 +327,7 @@ def build_many(targets):
# parallel builds tends to use up available memory rather quickly.
parallel = 2
if all_options.jobs and all_options.jobs > 1:
- j = min(all_options.jobs / parallel, 2)
+ j = max(all_options.jobs / parallel, 2)
make_command.append("-j" + str(j))
tracker = BuildTracker(parallel)