aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-19 15:15:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-19 15:15:52 +0000
commit9ab726cd1d7a5b2d13fd076f300c68084b56713c (patch)
treef4738684a135ffa5aeea104cb2ad45213ca16c74 /CMakeLists.txt
parentfbd2c0e1e3da12793dbf2681feac1244e9ae5485 (diff)
downloadrspamd-9ab726cd1d7a5b2d13fd076f300c68084b56713c.tar.gz
rspamd-9ab726cd1d7a5b2d13fd076f300c68084b56713c.zip
[Minor] Disable jemalloc on sanitized builds
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49bc44742..39a177310 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,7 +148,7 @@ ELSE(ENABLE_LUAJIT MATCHES "ON")
ENDIF(NOT LUA_FOUND)
ENDIF(ENABLE_LUAJIT MATCHES "ON")
-IF(ENABLE_JEMALLOC MATCHES "ON")
+IF(ENABLE_JEMALLOC MATCHES "ON" AND NOT SANITIZE)
ProcessPackage(JEMALLOC LIBRARY jemalloc_pic jemalloc INCLUDE jemalloc.h INCLUDE_SUFFIXES include/jemalloc
ROOT ${JEMALLOC_ROOT_DIR})
SET(WITH_JEMALLOC "1")