diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 49e8c06a75f04d1aaebee2dd42984cd243286174..3ec013c347316907aadb4af7e2d5c46ef11bd9e4 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -2011,7 +2011,7 @@ static bool findMIPSMultilibs(const Driver &D, const llvm::Triple &TargetTriple, std::vector<std::string> Dirs; Dirs.push_back((InstallDir + "/include").str()); std::string SysRootInc = - InstallDir.str() + "/../../../../" + TripleStr.str(); + InstallDir.str() + "/../../../../mips-linux-gnu"; if (StringRef(M.includeSuffix()).startswith("/uclibc")) Dirs.push_back(SysRootInc + "/libc/uclibc/usr/include"); else