summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Executor.py
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2016-02-02 11:09:18 (GMT)
committerRussel Winder <russel@winder.org.uk>2016-02-02 11:09:18 (GMT)
commitde84af3f318501b8a776cbc0b93e9aec5c85f819 (patch)
tree1eaecbea1cc33ae0b13772342925475d25df6bc2 /src/engine/SCons/Executor.py
parent6a42327dfce9dba97ad9643b519e5c93907a45be (diff)
parentb7bf26899595e90e1cc6937fb18fd5702bec8d8d (diff)
downloadSCons-de84af3f318501b8a776cbc0b93e9aec5c85f819.zip
SCons-de84af3f318501b8a776cbc0b93e9aec5c85f819.tar.gz
SCons-de84af3f318501b8a776cbc0b93e9aec5c85f819.tar.bz2
Commit merge from default.
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r--src/engine/SCons/Executor.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py
index eace84a..7107fde 100644
--- a/src/engine/SCons/Executor.py
+++ b/src/engine/SCons/Executor.py
@@ -217,7 +217,9 @@ class Executor(object):
us = []
ut = []
for b in self.batches:
- if b.targets[0].is_up_to_date():
+ # don't add targets marked always build to unchanged lists
+ # add to changed list as they always need to build
+ if not b.targets[0].always_build and b.targets[0].is_up_to_date():
us.extend(list(map(rfile, b.sources)))
ut.extend(b.targets)
else: