diff options
author | Greg Noel <GregNoel@tigris.org> | 2009-12-20 19:14:04 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2009-12-20 19:14:04 (GMT) |
commit | b7cc1ca4105f6d41d763fd14640b5c7668061551 (patch) | |
tree | 892ce70eb60db996c999255b5205b57bd7642b27 | |
parent | 74b0e0fa878bf98e1bb074cd5292a6808ba33f97 (diff) | |
download | SCons-b7cc1ca4105f6d41d763fd14640b5c7668061551.zip SCons-b7cc1ca4105f6d41d763fd14640b5c7668061551.tar.gz SCons-b7cc1ca4105f6d41d763fd14640b5c7668061551.tar.bz2 |
Issue 2482: Avoid wrapping decider unnecessarily
-rw-r--r-- | src/engine/SCons/SConf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 313630b..133dab5 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 |