aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-07 23:52:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-07 23:52:20 +0000
commite9b88e4440f0ba3a97e904f94a1634d7439b8478 (patch)
tree6db2f57d6c8c5978b0644d42daf7ca638f92efac /tools/llvm-config
parentf0bb41c078d657c70ce6b95d5b56645c72ca7db4 (diff)
downloadexternal_llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.zip
external_llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.gz
external_llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.bz2
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 'tools/llvm-config')
-rw-r--r--tools/llvm-config/CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt
index 7638f3c..8a710ea 100644
--- a/tools/llvm-config/CMakeLists.txt
+++ b/tools/llvm-config/CMakeLists.txt
@@ -36,9 +36,6 @@ foreach(l ${LLVM_SYSTEM_LIBS_LIST})
set(LLVM_SYSTEM_LIBS ${LLVM_SYSTEM_LIBS} "-l${l}")
endforeach()
-include(GetTargetTriple)
-get_target_triple(target)
-
foreach(c ${LLVM_TARGETS_TO_BUILD})
set(TARGETS_BUILT "${TARGETS_BUILT} ${c}")
endforeach(c)