]> granicus.if.org Git - clang/commitdiff
ccc: Have generic GCC tool chain search the driver directory for
authorDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 01:06:18 +0000 (01:06 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 24 Mar 2009 01:06:18 +0000 (01:06 +0000)
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

tools/ccc/ccclib/ToolChain.py

index d081f28d19aa32fa616fb0bf1a6bff3e1679371f..5e6f2e05c09899a3e3ff871fc38718ce64bc0aae 100644 (file)
@@ -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)