CodeSourcery toolchain is a standalone toolchain which always uses
the same triple name in its paths. It is independent from target
triple used by the driver.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270067
91177308-0d34-0410-b5e6-
96231b3b80d8
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