mirror of https://gitee.com/bigwinds/arangodb
Fix environment variable name to enable jemalloc background threads on Linux. (#3558)
This commit is contained in:
parent
974fa47a87
commit
f13174310e
|
@ -33,11 +33,11 @@ if (LINUX OR DARWIN)
|
|||
if (DARWIN)
|
||||
set(JEMALLOC_CC_TMP "cc")
|
||||
set(JEMALLOC_CXX_TMP "c++}")
|
||||
set(JEALLOC_CONFIG "background_thread:false")
|
||||
set(JEMALLOC_CONFIG "background_thread:false")
|
||||
else ()
|
||||
set(JEMALLOC_CC_TMP "${CMAKE_C_COMPILER}")
|
||||
set(JEMALLOC_CXX_TMP "${CMAKE_CXX_COMPILER}")
|
||||
set(JEALLOC_CONFIG "background_thread:true")
|
||||
set(JEMALLOC_CONFIG "background_thread:true")
|
||||
endif ()
|
||||
|
||||
set(JEMALLOC_CFLAGS_TMP "-DARANGODB_MMAP_JEMALLOC=1")
|
||||
|
|
Loading…
Reference in New Issue