summaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-05-04 07:36:23 +0000
committerTim Northover <Tim.Northover@arm.com>2013-05-04 07:36:23 +0000
commitd66ad6c57115e85487e8a29b1e073305690a9be2 (patch)
treed02875051b4844dd132edd4ba5dfdd516e82c02b /autoconf
parentc1685b3a5052de377735f69e53e50741dbe5b52a (diff)
downloadexternal_llvm-d66ad6c57115e85487e8a29b1e073305690a9be2.zip
external_llvm-d66ad6c57115e85487e8a29b1e073305690a9be2.tar.gz
external_llvm-d66ad6c57115e85487e8a29b1e073305690a9be2.tar.bz2
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
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index d1c740f..438b283 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -1777,7 +1777,7 @@ AC_DEFINE_UNQUOTED(LLVM_MANDIR, "$LLVM_MANDIR",
[Installation directory for man pages])
AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME",
[Time at which LLVM was configured])
-AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$host",
+AC_DEFINE_UNQUOTED(LLVM_HOST_TRIPLE, "$host",
[Host triple LLVM will be executed on])
AC_DEFINE_UNQUOTED(LLVM_DEFAULT_TARGET_TRIPLE, "$target",
[Target triple LLVM will generate code for by default])