diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-07 23:52:20 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-07 23:52:20 +0000 |
commit | e9b88e4440f0ba3a97e904f94a1634d7439b8478 (patch) | |
tree | 6db2f57d6c8c5978b0644d42daf7ca638f92efac /cmake/config-ix.cmake | |
parent | f0bb41c078d657c70ce6b95d5b56645c72ca7db4 (diff) | |
download | llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.gz llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.bz2 llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.xz |
Stop running get_target_triple more than we need to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index d67eaf7b01..f8d242420f 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -149,6 +149,9 @@ include(GetTargetTriple) get_target_triple(LLVM_HOSTTRIPLE) message(STATUS "LLVM_HOSTTRIPLE: ${LLVM_HOSTTRIPLE}") +# FIXME: We don't distinguish the target and the host. :( +set(TARGET_TRIPLE "${LLVM_HOSTTRIPLE}") + # Determine the native architecture. string(TOLOWER "${LLVM_TARGET_ARCH}" LLVM_NATIVE_ARCH) if( LLVM_NATIVE_ARCH STREQUAL "host" ) |