summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-17 05:14:50 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-17 05:14:50 +0000
commitbfa3102cb0fc7089b4feded85072e2c13b3eb202 (patch)
tree45ae32aec753be349004856e925d5fbc588df5a3
parent7572d3636a8f06f5d832f710401ecb06fdc8518d (diff)
Merging r142134:
------------------------------------------------------------------------ r142134 | chandlerc | 2011-10-16 04:05:04 -0700 (Sun, 16 Oct 2011) | 1 line Fix a silly bug introduced in r142133. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_30@142175 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Driver/ToolChains.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 2ce0d8082e..825a83d8b8 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -1694,13 +1694,13 @@ private:
// up to the lib directory.
const std::string Suffixes[] = {
"/gcc/" + CandidateTriple.str(),
- CandidateTriple.str() + "/gcc/" + CandidateTriple.str(),
+ "/" + CandidateTriple.str() + "/gcc/" + CandidateTriple.str(),
// Ubuntu has a strange mis-matched pair of triples that this happens to
// match.
// FIXME: It may be worthwhile to generalize this and look for a second
// triple.
- CandidateTriple.str() + "/gcc/i686-linux-gnu"
+ "/" + CandidateTriple.str() + "/gcc/i686-linux-gnu"
};
const std::string InstallSuffixes[] = {
"/../../..",