From f189af143b59af52990a624995dcbbabe3c7ea50 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 1 Apr 2010 17:24:02 +1100 Subject: build: enable nothreads workaround only with WAF_NOTHREADS=1 --- buildtools/wafsamba/nothreads.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'buildtools/wafsamba/nothreads.py') diff --git a/buildtools/wafsamba/nothreads.py b/buildtools/wafsamba/nothreads.py index d227ce1a97..9054a57af5 100644 --- a/buildtools/wafsamba/nothreads.py +++ b/buildtools/wafsamba/nothreads.py @@ -213,8 +213,7 @@ class Parallel(object): assert (self.count == 0 or self.stop) -# enable nothreads if -j1 is used from the makefile -if os.environ.get('JOBS') == '1': - import Runner - Runner.process = process - Runner.Parallel = Parallel +# enable nothreads +import Runner +Runner.process = process +Runner.Parallel = Parallel -- cgit