diff tools/gold/CMakeLists.txt @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 803732b1fca8
children c2174574ed3a
line wrap: on
line diff
--- a/tools/gold/CMakeLists.txt	Wed Sep 14 00:12:37 2016 +0900
+++ b/tools/gold/CMakeLists.txt	Fri Nov 17 20:32:31 2017 +0900
@@ -3,13 +3,10 @@
 if( LLVM_ENABLE_PIC AND LLVM_BINUTILS_INCDIR )
   include_directories( ${LLVM_BINUTILS_INCDIR} )
 
-  # Because off_t is used in the public API, the largefile parts are required for
-  # ABI compatibility.
-  add_definitions( -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 )
-
   set(LLVM_LINK_COMPONENTS
      ${LLVM_TARGETS_TO_BUILD}
      Linker
+     LTO
      BitWriter
      IPO
      )
@@ -19,4 +16,3 @@
     )
 
 endif()
-