From: gregnoel Date: Sun, 20 Dec 2009 19:14:04 +0000 (+0000) Subject: Issue 2482: Avoid wrapping decider unnecessarily X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d5422326cbd88244ea7e941ac8fed22a2603ec4;p=scons.git Issue 2482: Avoid wrapping decider unnecessarily git-svn-id: http://scons.tigris.org/svn/scons/trunk@4571 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 313630b6..133dab50 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -324,7 +324,8 @@ class SConfBuildTask(SCons.Taskmaster.AlwaysTask): env_decider=env.decide_source): env_decider(dependency, target, prev_ni) return True - env.Decider(force_build) + if env.decide_source.func_code is not force_build.func_code: + env.Decider(force_build) env['PSTDOUT'] = env['PSTDERR'] = s try: sconf.cached = 0