mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
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
This commit is contained in:
parent
f4f1b266fd
commit
3a9f68bb7a
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user