From: Daniel Dunbar Date: Tue, 24 Mar 2009 01:06:18 +0000 (+0000) Subject: ccc: Have generic GCC tool chain search the driver directory for X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2836c4aa0239b4f4cd750f44a4336763b82d16f8;p=clang 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 --- 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)