summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Executor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r--src/engine/SCons/Executor.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py
index 6b9ab0f..25db771 100644
--- a/src/engine/SCons/Executor.py
+++ b/src/engine/SCons/Executor.py
@@ -59,8 +59,7 @@ class Executor:
self.env = env
self.overridelist = overridelist
self.targets = targets
- self.sources = sources[:]
- self.sources_need_sorting = False
+ self.sources = SCons.Util.UniqueList(sources[:])
self.builder_kw = builder_kw
self._memo = {}
@@ -156,12 +155,8 @@ class Executor:
for "multi" Builders that can be called repeatedly to build up
a source file list for a given target."""
self.sources.extend(sources)
- self.sources_need_sorting = True
def get_sources(self):
- if self.sources_need_sorting:
- self.sources = SCons.Util.uniquer_hashables(self.sources)
- self.sources_need_sorting = False
return self.sources
def prepare(self):