aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2016-11-14 12:41:08 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2016-11-14 12:13:37 +0000
commit0649b77b020b02436a843ee72a5941f2f875c846 (patch)
treeca4ac862a375d9ba0763a04c8bfa92de70e3ecd3 /src
parentd0516e847335e7f432f137bf4774a05b0c007569 (diff)
Fix bug that causes re-linking on every build on Linux1.6
Introduced by d0516e8473. Change-Id: I5bf9e9acab9485ba47c4f5b02e7b0c4ae2493266 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/lib/corelib/buildgraph/executor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp
index e774f71e7..db74d1715 100644
--- a/src/lib/corelib/buildgraph/executor.cpp
+++ b/src/lib/corelib/buildgraph/executor.cpp
@@ -453,6 +453,8 @@ void Executor::executeRuleNode(RuleNode *ruleNode)
for (const Artifact * const parent : artifact->parentArtifacts()) {
if (parent->transformer->rule != ruleNode->rule())
continue;
+ if (!parent->alwaysUpdated)
+ continue;
if (parent->timestamp() < artifact->timestamp()) {
changedInputArtifacts += artifact;
break;