From f64d6bd6526b046c350e8e421204461ee66cf9b8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 28 Mar 2017 08:58:14 +0200 Subject: cmake: Do not check for LFS support BUG: https://bugzilla.samba.org/show_bug.cgi?id=12694 Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- cmake/Modules/DefineCompilerFlags.cmake | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'cmake/Modules/DefineCompilerFlags.cmake') diff --git a/cmake/Modules/DefineCompilerFlags.cmake b/cmake/Modules/DefineCompilerFlags.cmake index 53481c3..c60e586 100644 --- a/cmake/Modules/DefineCompilerFlags.cmake +++ b/cmake/Modules/DefineCompilerFlags.cmake @@ -53,35 +53,6 @@ if (UNIX AND NOT WIN32) endif() endif (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)") - # - # Check for large filesystem support - # - if (CMAKE_SIZEOF_VOID_P MATCHES "8") - # with large file support - execute_process( - COMMAND - getconf LFS64_CFLAGS - OUTPUT_VARIABLE - _lfs_CFLAGS - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - else (CMAKE_SIZEOF_VOID_P MATCHES "8") - # with large file support - execute_process( - COMMAND - getconf LFS_CFLAGS - OUTPUT_VARIABLE - _lfs_CFLAGS - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - endif (CMAKE_SIZEOF_VOID_P MATCHES "8") - if (_lfs_CFLAGS) - string(REGEX REPLACE "[\r\n]" " " "${_lfs_CFLAGS}" "${${_lfs_CFLAGS}}") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${_lfs_CFLAGS}") - endif (_lfs_CFLAGS) - endif (UNIX AND NOT WIN32) if (MSVC) -- cgit