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.
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[] = {
"/../../..",