mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Fix cmake build on non-x86 targets. Patch by
Xerxes Rånby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -59,11 +59,9 @@ function(explicit_map_components_to_libraries out_libs)
|
|||||||
list(APPEND expanded_components "LLVM${c}Info")
|
list(APPEND expanded_components "LLVM${c}Info")
|
||||||
endif()
|
endif()
|
||||||
elseif( c STREQUAL "native" )
|
elseif( c STREQUAL "native" )
|
||||||
# TODO: we assume ARCH is X86.
|
list(APPEND expanded_components "LLVM${LLVM_NATIVE_ARCH}CodeGen")
|
||||||
list(APPEND expanded_components "LLVMX86CodeGen")
|
|
||||||
elseif( c STREQUAL "nativecodegen" )
|
elseif( c STREQUAL "nativecodegen" )
|
||||||
# TODO: we assume ARCH is X86.
|
list(APPEND expanded_components "LLVM${LLVM_NATIVE_ARCH}CodeGen")
|
||||||
list(APPEND expanded_components "LLVMX86CodeGen")
|
|
||||||
elseif( c STREQUAL "backend" )
|
elseif( c STREQUAL "backend" )
|
||||||
# same case as in `native'.
|
# same case as in `native'.
|
||||||
elseif( c STREQUAL "engine" )
|
elseif( c STREQUAL "engine" )
|
||||||
|
Reference in New Issue
Block a user