summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitfee13d1e1102a791ba8e9fa3582b6ce6f52452ac (patch)
tree1807d4a2b452f179a261ea29f3b8ad0a50791981 /llvm/autoconf
parent8ec8c4bf89c5e1bed3bcb3425e6e3fa347fea319 (diff)
downloadbcm5719-llvm-fee13d1e1102a791ba8e9fa3582b6ce6f52452ac.tar.gz
bcm5719-llvm-fee13d1e1102a791ba8e9fa3582b6ce6f52452ac.zip
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. llvm-svn: 181112
Diffstat (limited to 'llvm/autoconf')
-rw-r--r--llvm/autoconf/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index d1c740fa191..438b283d199 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/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])
OpenPOWER on IntegriCloud