diff options
author | attilio <attilio@FreeBSD.org> | 2011-05-06 22:45:33 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-05-06 22:45:33 +0000 |
commit | a0b51ba62fa86f5faf7bbd81e0b91ba497fec05a (patch) | |
tree | b6f763bb2e3a9eaf32a3ee9adca98cc9e867998c /contrib/llvm/lib | |
parent | 8534b0c2951283889da00ca8a244058185638240 (diff) | |
download | FreeBSD-src-a0b51ba62fa86f5faf7bbd81e0b91ba497fec05a.zip FreeBSD-src-a0b51ba62fa86f5faf7bbd81e0b91ba497fec05a.tar.gz |
MFC
Diffstat (limited to 'contrib/llvm/lib')
-rw-r--r-- | contrib/llvm/lib/Support/Unix/Host.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/llvm/lib/Support/Unix/Host.inc b/contrib/llvm/lib/Support/Unix/Host.inc index 8cbec8c..9c75230 100644 --- a/contrib/llvm/lib/Support/Unix/Host.inc +++ b/contrib/llvm/lib/Support/Unix/Host.inc @@ -35,6 +35,9 @@ static std::string getOSVersion() { } std::string sys::getHostTriple() { +#ifdef __FreeBSD__ + return LLVM_HOSTTRIPLE; +#else // FIXME: Derive directly instead of relying on the autoconf generated // variable. @@ -91,4 +94,5 @@ std::string sys::getHostTriple() { } return Triple; +#endif } |