mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
Make cmake generated llvm-config output correct JIT backend for non X86 targets.
llvm-svn: 82049
This commit is contained in:
parent
55ae32042d
commit
d7ea8f55c2
@ -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