diff options
-rw-r--r-- | lib/Driver/ToolChains.cpp | 4 |
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[] = { "/../../..", |