forked from OSchip/llvm-project
Fix Windows+MinGW which introduces noise into path separators.
There should be a better solution to this; Michael and I are continuing to discuss exactly what it should be. The one solution I'm very uncomfortable with is making the FileCheck tests use a regex for each path separator. llvm-svn: 141126
This commit is contained in:
parent
3d11aa7e75
commit
7dc477ef77
|
@ -1685,7 +1685,11 @@ public:
|
|||
|
||||
BestVersion = CandidateVersion;
|
||||
GccTriple = CandidateTriple.str();
|
||||
GccInstallPath = LI->path();
|
||||
// FIXME: We hack together the directory name here instead of
|
||||
// using LI to ensure stable path separators across Windows and
|
||||
// Linux.
|
||||
GccInstallPath = (TripleDir + Suffixes[l] + "/" +
|
||||
VersionText.str());
|
||||
GccParentLibPath = GccInstallPath + InstallSuffixes[l];
|
||||
IsValid = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue