diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-10-05 06:38:03 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-10-05 06:38:03 +0000 |
commit | 1203600d227aefa1600973dd848417d31751a3a2 (patch) | |
tree | 13658d68cade315f645eaf7ab73bebd118642ad9 /lib/Driver/ToolChains.cpp | |
parent | 68395a7a9c5ec4400c4d76f16ee20d9b4c9326d8 (diff) |
Use the InstalledDir correctly, and test it correctly as well. =/ Should
have noticed this previously, sorry.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 0e9dcd14dc..eab76d5716 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -1589,7 +1589,7 @@ public: D.PrefixDirs.end()); Prefixes.push_back(D.SysRoot); Prefixes.push_back(D.SysRoot + "/usr"); - Prefixes.push_back(D.InstalledDir); + Prefixes.push_back(D.InstalledDir + "/.."); // Loop over the various components which exist and select the best GCC // installation available. GCC installs are ranked by version number. |