diff options
author | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:31:44 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:31:44 +0000 |
commit | ec2fb226d8b84ee1090f7d7fa2e0da6232fee469 (patch) | |
tree | 8977b03d3927338c03509688feba20ab8b2a9373 /llvm/lib/Support | |
parent | f29a9b8c0b7b056f0b1cc1e0ac2a4b10600f9f00 (diff) | |
download | bcm5719-llvm-ec2fb226d8b84ee1090f7d7fa2e0da6232fee469.tar.gz bcm5719-llvm-ec2fb226d8b84ee1090f7d7fa2e0da6232fee469.zip |
rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLE
llvm-svn: 143501
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Unix/Host.inc | 5 | ||||
-rw-r--r-- | llvm/lib/Support/Windows/Host.inc | 3 |
2 files changed, 2 insertions, 6 deletions
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<StringRef, StringRef> ArchSplit = HostTripleString.split('-'); // Normalize the arch, since the host triple may not actually match the host. diff --git a/llvm/lib/Support/Windows/Host.inc b/llvm/lib/Support/Windows/Host.inc index 733830e82f0..5bbc74e5a39 100644 --- a/llvm/lib/Support/Windows/Host.inc +++ b/llvm/lib/Support/Windows/Host.inc @@ -18,6 +18,5 @@ using namespace llvm; std::string sys::getHostTriple() { - // FIXME: Adapt to running version. - return LLVM_HOSTTRIPLE; + return LLVM_DEFAULT_TARGET_TRIPLE; } |