summaryrefslogtreecommitdiffstats
path: root/SCons/Builder.py
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2021-07-20 18:38:49 (GMT)
committerDaniel Moody <dmoody256@gmail.com>2021-07-20 19:08:26 (GMT)
commit051d06b45c0628bfaf391ab7a4ee91c1424a1aeb (patch)
treefdc5d54eca1e2548ab1f2c502f87804e13bee106 /SCons/Builder.py
parent3fa73b75c1fa7591dab51746cd78dd0685d65e9f (diff)
downloadSCons-051d06b45c0628bfaf391ab7a4ee91c1424a1aeb.zip
SCons-051d06b45c0628bfaf391ab7a4ee91c1424a1aeb.tar.gz
SCons-051d06b45c0628bfaf391ab7a4ee91c1424a1aeb.tar.bz2
make sure multi target and intermediate SConf files are mark is_conftest
Diffstat (limited to 'SCons/Builder.py')
-rw-r--r--SCons/Builder.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/SCons/Builder.py b/SCons/Builder.py
index 38eadf8..1178884 100644
--- a/SCons/Builder.py
+++ b/SCons/Builder.py
@@ -613,6 +613,10 @@ class BuilderBase:
t.set_executor(executor)
t.set_explicit(self.is_explicit)
+ if env.get("SCONF_NODE"):
+ for node in tlist + slist:
+ node.attributes.conftest_node = 1
+
return SCons.Node.NodeList(tlist)
def __call__(self, env, target=None, source=None, chdir=_null, **kw):