aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-10-26 00:47:52 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-10-26 00:47:52 +0000
commit5afe9b4f296f63596cf00267c7731c0da25f44a6 (patch)
tree9f786b6d351990ff83aecdf60c0c6c21600e1c10 /include/llvm/Config
parent46a0dcb70e066ce7f925f9742fe35c382d9fd2a9 (diff)
downloadexternal_llvm-5afe9b4f296f63596cf00267c7731c0da25f44a6.zip
external_llvm-5afe9b4f296f63596cf00267c7731c0da25f44a6.tar.gz
external_llvm-5afe9b4f296f63596cf00267c7731c0da25f44a6.tar.bz2
CMake: GetTargetTriple: new module for determining the target
triple. Assign to LLVM_HOSTTRIPLE so it figures in config.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 9d0265a..e5f908a 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -440,6 +440,9 @@
/* Installation directory for config files */
#undef LLVM_ETCDIR
+/* Host triple we were built on */
+#cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}"
+
/* Installation directory for include files */
#undef LLVM_INCLUDEDIR