From d66ad6c57115e85487e8a29b1e073305690a9be2 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Sat, 4 May 2013 07:36:23 +0000 Subject: Allow host triple to be correctly overridden in CMake builds The intended semantics mirror autoconf, where the user is able to specify a host triple, but if it's left to the build system then "config.guess" is invoked for the default. This also renames the LLVM_HOSTTRIPLE define to LLVM_HOST_TRIPLE to fit in with the style of the surrounding defines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181112 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Config/llvm-config.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Config/llvm-config.h.in') diff --git a/include/llvm/Config/llvm-config.h.in b/include/llvm/Config/llvm-config.h.in index af3a324855..a5209fa9b2 100644 --- a/include/llvm/Config/llvm-config.h.in +++ b/include/llvm/Config/llvm-config.h.in @@ -41,7 +41,7 @@ #undef LLVM_HAS_ATOMICS /* Host triple LLVM will be executed on */ -#undef LLVM_HOSTTRIPLE +#undef LLVM_HOST_TRIPLE /* Installation directory for include files */ #undef LLVM_INCLUDEDIR -- cgit v1.2.3