summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/engine/SCons/Tool/__init__.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/engine/SCons/Tool/__init__.py b/src/engine/SCons/Tool/__init__.py
index 6d2a44b..f4a7912 100644
--- a/src/engine/SCons/Tool/__init__.py
+++ b/src/engine/SCons/Tool/__init__.py
@@ -149,9 +149,10 @@ def FindAllTools(tools):
return filter (_ToolExists, tools)
def tool_list():
- return [FindTool(linkers),
- FindTool(c_compilers),
- FindTool(cxx_compilers),
- FindTool(fortran_compilers),
- FindTool(assemblers)
- ] + FindAllTools(other_tools)
+ tools = [FindTool(linkers),
+ FindTool(c_compilers),
+ FindTool(cxx_compilers),
+ FindTool(fortran_compilers),
+ FindTool(assemblers)
+ ] + FindAllTools(other_tools)
+ return filter(lambda x: x, tools)