1 This patch ensures the target triple that is passed during the compiler build is
2 respected, instead of mangling it.
4 Introduced here: http://svn.freebsd.org/changeset/base/221503
6 Index: lib/Support/Unix/Host.inc
7 ===================================================================
8 --- lib/Support/Unix/Host.inc
9 +++ lib/Support/Unix/Host.inc
15 +std::string sys::getDefaultTargetTriple() {
16 + return LLVM_DEFAULT_TARGET_TRIPLE;
19 static std::string getOSVersion() {
22 @@ -61,3 +66,4 @@ std::string sys::getDefaultTargetTriple() {
26 +#endif // __FreeBSD__