diff options
author | Xerxes Ranby <xerxes@zafena.se> | 2009-09-16 14:36:35 +0000 |
---|---|---|
committer | Xerxes Ranby <xerxes@zafena.se> | 2009-09-16 14:36:35 +0000 |
commit | 3a9f68bb7ad52b9445d6760c460be0064fca1b59 (patch) | |
tree | 5dc162b5d012a36cee7cd5a458d50d047d9f80c9 /tools/llvm-config/CMakeLists.txt | |
parent | f4f1b266fd83c819ea2cf7cbd9bcd377d95c4eb6 (diff) |
Make cmake generated llvm-config output correct JIT backend for non X86 targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config/CMakeLists.txt')
-rw-r--r-- | tools/llvm-config/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt index b029663011..9181fe0847 100644 --- a/tools/llvm-config/CMakeLists.txt +++ b/tools/llvm-config/CMakeLists.txt @@ -27,7 +27,7 @@ endif( IS_BIG_ENDIAN ) set(SHLIBEXT ${LTDL_SHLIB_EXT}) #EXEEXT already set. set(OS "${CMAKE_SYSTEM}") -set(ARCH "X86") # TODO: This gives "i686" in Linux: "${CMAKE_SYSTEM_PROCESSOR}") +set(ARCH "${LLVM_NATIVE_ARCH}") get_system_libs(LLVM_SYSTEM_LIBS_LIST) foreach(l ${LLVM_SYSTEM_LIBS_LIST}) |