From 8e6ae6560f7d69e462f212231c158f901eaaa4ec Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 31 Jul 2017 00:39:22 +0000 Subject: [PATCH] gold/CMakeLists.txt: Prune (-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64). They are handled in HandleLLVMOptions.cmake for -m32. They are not required for -m64. llvm-svn: 309532 --- tools/gold/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/gold/CMakeLists.txt b/tools/gold/CMakeLists.txt index 42d4cb876b2..d2580329aca 100644 --- a/tools/gold/CMakeLists.txt +++ b/tools/gold/CMakeLists.txt @@ -3,10 +3,6 @@ set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/gold.exports) 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