From a0b51ba62fa86f5faf7bbd81e0b91ba497fec05a Mon Sep 17 00:00:00 2001 From: attilio Date: Fri, 6 May 2011 22:45:33 +0000 Subject: MFC --- contrib/llvm/lib/Support/Unix/Host.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'contrib/llvm/lib/Support') 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 } -- cgit v1.1