1 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gold.exports)
3 if( LLVM_ENABLE_PIC AND LLVM_BINUTILS_INCDIR )
4 include_directories( ${LLVM_BINUTILS_INCDIR} )
6 # Because off_t is used in the public API, the largefile parts are required for
8 add_definitions( -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 )
10 set(LLVM_LINK_COMPONENTS
11 ${LLVM_TARGETS_TO_BUILD}
17 add_llvm_loadable_module(LLVMgold