mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
Removed misleading flag from CMake
This commit is contained in:
parent
abdd70fcc4
commit
75e124f390
@ -264,11 +264,10 @@ if (USE_STATIC_LIBRARIES AND HAVE_NO_PIE)
|
|||||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAG_NO_PIE}")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAG_NO_PIE}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# TODO: only make this extra-checks in CI builds, since a lot of contrib libs won't link -
|
# Make this extra-checks for correct library dependencies.
|
||||||
# CI works around this problem by explicitly adding GLIBC_COMPATIBILITY flag.
|
if (NOT SANITIZE)
|
||||||
if (NOT SANITIZE AND YANDEX_OFFICIAL_BUILD)
|
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")
|
||||||
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-undefined")
|
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
|
||||||
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
include (cmake/find_unwind.cmake)
|
include (cmake/find_unwind.cmake)
|
||||||
|
Loading…
Reference in New Issue
Block a user