mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 07:43:37 +00:00
8120e334d7
They are handled in HandleLLVMOptions.cmake for -m32. They are not required for -m64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309532 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
351 B
CMake
19 lines
351 B
CMake
set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gold.exports)
|
|
|
|
if( LLVM_ENABLE_PIC AND LLVM_BINUTILS_INCDIR )
|
|
include_directories( ${LLVM_BINUTILS_INCDIR} )
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
Linker
|
|
LTO
|
|
BitWriter
|
|
IPO
|
|
)
|
|
|
|
add_llvm_loadable_module(LLVMgold
|
|
gold-plugin.cpp
|
|
)
|
|
|
|
endif()
|