mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Build contrib in release
This commit is contained in:
parent
58d0e8901e
commit
b6ff4713ee
4
contrib/CMakeLists.txt
vendored
4
contrib/CMakeLists.txt
vendored
@ -14,6 +14,10 @@ unset (_current_dir_name)
|
||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
|
||||
|
||||
if (WITH_COVERAGE)
|
||||
add_compile_options(-O3 -DNDEBUG -finline)
|
||||
endif()
|
||||
|
||||
if (SANITIZE STREQUAL "undefined")
|
||||
# 3rd-party libraries usually not intended to work with UBSan.
|
||||
add_compile_options(-fno-sanitize=undefined)
|
||||
|
Loading…
Reference in New Issue
Block a user