mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
jemalloc: add _GNU_SOURCE for RTLD_NEXT
This commit is contained in:
parent
9f1cefd8df
commit
5cd31dbf0d
@ -90,6 +90,8 @@ if (ENABLE_JEMALLOC)
|
||||
endif ()
|
||||
|
||||
target_compile_options(jemalloc PRIVATE -Wno-redundant-decls)
|
||||
# for RTLD_NEXT
|
||||
target_compile_options(jemalloc PRIVATE -D_GNU_SOURCE)
|
||||
else ()
|
||||
find_library(LIBRARY_JEMALLOC jemalloc)
|
||||
find_path(INCLUDE_JEMALLOC jemalloc/jemalloc.h)
|
||||
|
Loading…
Reference in New Issue
Block a user