Fix a silly bug introduced in r142133.

llvm-svn: 142134
This commit is contained in:
Chandler Carruth 2011-10-16 11:05:04 +00:00
parent a7b4414ac2
commit 5f9a44f3e9
1 changed files with 2 additions and 2 deletions

View File

@ -1694,13 +1694,13 @@ private:
// up to the lib directory. // up to the lib directory.
const std::string Suffixes[] = { const std::string Suffixes[] = {
"/gcc/" + CandidateTriple.str(), "/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 // Ubuntu has a strange mis-matched pair of triples that this happens to
// match. // match.
// FIXME: It may be worthwhile to generalize this and look for a second // FIXME: It may be worthwhile to generalize this and look for a second
// triple. // triple.
CandidateTriple.str() + "/gcc/i686-linux-gnu" "/" + CandidateTriple.str() + "/gcc/i686-linux-gnu"
}; };
const std::string InstallSuffixes[] = { const std::string InstallSuffixes[] = {
"/../../..", "/../../..",