[cfe-commits] r112970 - /cfe/trunk/lib/Driver/ToolChains.cpp
Chris Lattner
sabre at nondot.org
Fri Sep 3 09:47:03 PDT 2010
Author: lattner
Date: Fri Sep 3 11:47:03 2010
New Revision: 112970
URL: http://llvm.org/viewvc/llvm-project?rev=112970&view=rev
Log:
fix a hard coded version number, PR8031. Patch by 'nobled'.
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=112970&r1=112969&r2=112970&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Fri Sep 3 11:47:03 2010
@@ -1084,7 +1084,8 @@
Linux::Linux(const HostInfo &Host, const llvm::Triple& Triple)
: Generic_GCC(Host, Triple) {
- getFilePaths().push_back(getDriver().Dir + "/../lib/clang/1.0/");
+ getFilePaths().push_back(getDriver().Dir +
+ "/../lib/clang/" CLANG_VERSION_STRING "/");
getFilePaths().push_back("/lib/");
getFilePaths().push_back("/usr/lib/");
More information about the cfe-commits
mailing list