mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Support: normalize the default triple on Unix
This will fix cross-compiling buildbots (e.g. cygwin). This is in the same vein as SVN r205070. Apply this to fix the cross-compiling scenario, even though the preferred solution is to update the build system to normalize the embedded triple rather than perform this at runtime every time. This is meant to tide us over until that approach is fleshed out and applied. llvm-svn: 205120
This commit is contained in:
parent
1dc08ab053
commit
960aa13461
@ -59,5 +59,5 @@ std::string sys::getDefaultTargetTriple() {
|
||||
Triple += getOSVersion();
|
||||
}
|
||||
|
||||
return Triple;
|
||||
return Triple::normalize(Triple);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user