aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-16 11:05:04 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-16 11:05:04 +0000
commit16a63552480b137c6ef1379d2eeb866a12183bd4 (patch)
tree09b890131e530ec683d9ebe1fd9a65d0dc689f50
parent7a09d012f6d52c8a7ba257df85d13149e6aa7cb2 (diff)
Fix a silly bug introduced in r142133.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142134 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[] = {
"/../../..",