mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Enabled "GLIBC_COMPATIBILITY" option by default [#CLICKHOUSE-3275].
This commit is contained in:
parent
7a85eab260
commit
a726f2831c
@ -71,8 +71,13 @@ if (USE_STATIC_LIBRARIES)
|
||||
list(REVERSE CMAKE_FIND_LIBRARY_SUFFIXES)
|
||||
endif ()
|
||||
|
||||
option (USE_INTERNAL_MEMCPY "Use internal implementation of 'memcpy' function instead of provided by libc. Only for x86_64." ON)
|
||||
option (GLIBC_COMPATIBILITY "Set to TRUE to enable compatibility with older glibc libraries. Implies USE_INTERNAL_MEMCPY." OFF)
|
||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "amd64.*|x86_64.*|AMD64.*")
|
||||
option (USE_INTERNAL_MEMCPY "Use internal implementation of 'memcpy' function instead of provided by libc. Only for x86_64." ON)
|
||||
|
||||
if (CMAKE_SYSTEM MATCHES "Linux")
|
||||
option (GLIBC_COMPATIBILITY "Set to TRUE to enable compatibility with older glibc libraries. Only for x86_64, Linux. Implies USE_INTERNAL_MEMCPY." ON)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
if (GLIBC_COMPATIBILITY)
|
||||
set (USE_INTERNAL_MEMCPY ON)
|
||||
|
@ -1,8 +1,6 @@
|
||||
/** Allows to build programs with libc 2.18 and run on systems with at least libc 2.4,
|
||||
* such as Ubuntu Lucid or CentOS 6.
|
||||
*
|
||||
* Highly experimental, not recommended, disabled by default.
|
||||
*
|
||||
* Also look at http://www.lightofdawn.org/wiki/wiki.cgi/NewAppsOnOldGlibc
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user