Skip to content

Commit 189ff60

Browse files
Merge pull request ClickHouse#33950 from azat/remove-glibc-compat
Revert glibc compatibility (via .symver) in favor of hermetic build (bundled libc)
2 parents 0eaeabd + 37dbff7 commit 189ff60

File tree

2 files changed

+0
-58
lines changed

2 files changed

+0
-58
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ elseif(GLIBC_COMPATIBILITY)
208208
message (${RECONFIGURE_MESSAGE_LEVEL} "Glibc compatibility cannot be enabled in current configuration")
209209
endif ()
210210

211-
if (GLIBC_COMPATIBILITY)
212-
# NOTE: we may also want to check glibc version and add -include only for 2.32+
213-
# however this is extra complexity, especially for cross compiling.
214-
# And anyway it should not break anything for <2.32.
215-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/base/glibc-compatibility/glibc-compat-2.32.h")
216-
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/base/glibc-compatibility/glibc-compat-2.32.h")
217-
endif()
218-
219211
# Make sure the final executable has symbols exported
220212
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
221213

base/glibc-compatibility/glibc-compat-2.32.h

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)