]> granicus.if.org Git - clang/commitdiff
fix a hard coded version number, PR8031. Patch by 'nobled'.
authorChris Lattner <sabre@nondot.org>
Fri, 3 Sep 2010 16:47:03 +0000 (16:47 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Sep 2010 16:47:03 +0000 (16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112970 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index f5ed56b3ef6185f78e552c6843cb58860c945693..9bf6e80f4b168d3bcbcf7e74d51be51b94b74f7b 100644 (file)
@@ -1084,7 +1084,8 @@ Tool &AuroraUX::SelectTool(const Compilation &C, const JobAction &JA) const {
 
 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/");