mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix flag
This commit is contained in:
parent
5281288bf6
commit
3fbbb6bef9
@ -515,7 +515,7 @@ macro (add_executable target)
|
||||
# explicitly acquire and interpose malloc symbols by clickhouse_malloc
|
||||
# if GLIBC_COMPATIBILITY is ON and not sanitizer build, provide memcpy symbol explicitly to neutrialize thinlto's libcall generation.
|
||||
# `flto=thin` used only for release build, probably this `if` should be more strict.
|
||||
if (GLIBC_COMPATIBILITY AND NOT SANITIZE AND NOT ARCH_AMD64)
|
||||
if (GLIBC_COMPATIBILITY AND NOT SANITIZE AND NOT ARCH_AARCH64)
|
||||
_add_executable (${ARGV} $<TARGET_OBJECTS:clickhouse_malloc> $<TARGET_OBJECTS:clickhouse_memcpy>)
|
||||
else ()
|
||||
_add_executable (${ARGV} $<TARGET_OBJECTS:clickhouse_malloc>)
|
||||
|
Loading…
Reference in New Issue
Block a user