summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-03-28 08:58:14 +0200
committerAndreas Schneider <asn@samba.org>2017-04-06 09:18:12 +0200
commitf64d6bd6526b046c350e8e421204461ee66cf9b8 (patch)
tree874607b18507bfce1694c9f90c8893c7c4ae4833 /cmake
parent502ab86d4863802ef183cedbbf3283bf4bc07ab9 (diff)
downloadsocket_wrapper-f64d6bd6526b046c350e8e421204461ee66cf9b8.tar.gz
socket_wrapper-f64d6bd6526b046c350e8e421204461ee66cf9b8.tar.xz
socket_wrapper-f64d6bd6526b046c350e8e421204461ee66cf9b8.zip
cmake: Do not check for LFS support
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12694 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/DefineCompilerFlags.cmake29
1 files changed, 0 insertions, 29 deletions
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)