Home | History | Annotate | Download | only in gold
      1 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gold.exports)
      2 
      3 if( LLVM_ENABLE_PIC AND LLVM_BINUTILS_INCDIR )
      4   include_directories( ${LLVM_BINUTILS_INCDIR} )
      5 
      6   # Because off_t is used in the public API, the largefile parts are required for
      7   # ABI compatibility.
      8   add_definitions( -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 )
      9 
     10   set(LLVM_LINK_COMPONENTS
     11      ${LLVM_TARGETS_TO_BUILD}
     12      Linker
     13      BitWriter
     14      IPO
     15      )
     16 
     17   add_llvm_loadable_module(LLVMgold
     18     gold-plugin.cpp
     19     )
     20 
     21 endif()
     22 
     23