diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-03 16:47:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-03 16:47:03 +0000 |
commit | 3f2cc6f42bce4c5c31fa6026eb54bf73dd60fade (patch) | |
tree | 2668b4971d665d4a5eb0ba31ceb7212086c0e45e /lib/Driver/ToolChains.cpp | |
parent | 8e9006bb31184a38b7c4c9d3d3040394652cbd9b (diff) |
fix a hard coded version number, PR8031. Patch by 'nobled'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index f5ed56b3ef..9bf6e80f4b 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -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/"); |