mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #10631 from ClickHouse/fix-ubsan-report-lz4
Fix UBSan report in LZ4 library
This commit is contained in:
commit
410f77dfce
@ -12,5 +12,6 @@ add_library (lz4
|
||||
${LIBRARY_DIR}/lz4hc.h)
|
||||
|
||||
target_compile_definitions(lz4 PUBLIC LZ4_DISABLE_DEPRECATE_WARNINGS=1)
|
||||
target_compile_options(lz4 PRIVATE -fno-sanitize=undefined)
|
||||
|
||||
target_include_directories(lz4 PUBLIC ${LIBRARY_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user