summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2014-04-05 09:54:42 -0300
committerreduz <reduzio@gmail.com>2014-04-05 09:54:42 -0300
commit1278da71eade8a6a29bee1d5fa52470620923a62 (patch)
treec93757d919a6c2d775e2c9de15ec36ab8b1825cd
parent6a737c79fcf3cee934c4f6331715747571649098 (diff)
parent7ca064c3d1dda62351539b14860eb2afffcf25cb (diff)
Merge pull request #206 from marynate/PR-multijobs-build
Fixed #205 Race condition in build process
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a9739ca604..129b32f5f9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -11,7 +11,7 @@ import multiprocessing
# Enable aggresive compile mode if building on a multi core box
# only is we have not set the number of jobs already or we do
# not want it
-if ARGUMENTS.get('spawn_jobs', 'yes') == 'yes' and \
+if ARGUMENTS.get('spawn_jobs', 'no') == 'yes' and \
int(GetOption('num_jobs')) <= 1:
NUM_JOBS = multiprocessing.cpu_count()
if NUM_JOBS > 1: