From 3d5422326cbd88244ea7e941ac8fed22a2603ec4 Mon Sep 17 00:00:00 2001 From: gregnoel Date: Sun, 20 Dec 2009 19:14:04 +0000 Subject: [PATCH] Issue 2482: Avoid wrapping decider unnecessarily git-svn-id: http://scons.tigris.org/svn/scons/trunk@4571 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/SConf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2