From ec2fb226d8b84ee1090f7d7fa2e0da6232fee469 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Tue, 1 Nov 2011 21:31:44 +0000 Subject: rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLE llvm-svn: 143501 --- llvm/lib/Support/Unix/Host.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'llvm/lib/Support/Unix/Host.inc') diff --git a/llvm/lib/Support/Unix/Host.inc b/llvm/lib/Support/Unix/Host.inc index dda3ce2c6f9..dc1641722b1 100644 --- a/llvm/lib/Support/Unix/Host.inc +++ b/llvm/lib/Support/Unix/Host.inc @@ -36,10 +36,7 @@ static std::string getOSVersion() { } std::string sys::getHostTriple() { - // FIXME: Derive directly instead of relying on the autoconf generated - // variable. - - StringRef HostTripleString(LLVM_HOSTTRIPLE); + StringRef HostTripleString(LLVM_DEFAULT_TARGET_TRIPLE); std::pair ArchSplit = HostTripleString.split('-'); // Normalize the arch, since the host triple may not actually match the host. -- cgit v1.2.3