aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-24 01:06:18 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-24 01:06:18 +0000
commit2836c4aa0239b4f4cd750f44a4336763b82d16f8 (patch)
tree246f42e9d50ed67df26fe34e0b44d426de8a4b37
parent5545e166a956a20d7a6b58408e251a1119025485 (diff)
ccc: Have generic GCC tool chain search the driver directory for
executables (e.g., clang). - This matches the clang-driver behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67590 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/ccc/ccclib/ToolChain.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ccc/ccclib/ToolChain.py b/tools/ccc/ccclib/ToolChain.py
index d081f28d19..5e6f2e05c0 100644
--- a/tools/ccc/ccclib/ToolChain.py
+++ b/tools/ccc/ccclib/ToolChain.py
@@ -262,6 +262,7 @@ class Generic_GCC_ToolChain(ToolChain):
Phases.AssemblePhase : Tools.GCC_AssembleTool(self),
Phases.LinkPhase : Tools.GCC_LinkTool(self),
}
+ self.programPathPrefixes.append(self.driver.driverDir)
def selectTool(self, action):
assert isinstance(action, Phases.JobAction)