[cfe-commits] r67590 - /cfe/trunk/tools/ccc/ccclib/ToolChain.py
Daniel Dunbar
daniel at zuster.org
Mon Mar 23 18:06:18 PDT 2009
Author: ddunbar
Date: Mon Mar 23 20:06:18 2009
New Revision: 67590
URL: http://llvm.org/viewvc/llvm-project?rev=67590&view=rev
Log:
ccc: Have generic GCC tool chain search the driver directory for
executables (e.g., clang).
- This matches the clang-driver behavior.
Modified:
cfe/trunk/tools/ccc/ccclib/ToolChain.py
Modified: cfe/trunk/tools/ccc/ccclib/ToolChain.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/ToolChain.py?rev=67590&r1=67589&r2=67590&view=diff
==============================================================================
--- cfe/trunk/tools/ccc/ccclib/ToolChain.py (original)
+++ cfe/trunk/tools/ccc/ccclib/ToolChain.py Mon Mar 23 20:06:18 2009
@@ -262,6 +262,7 @@
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)
More information about the cfe-commits
mailing list