From 9ab726cd1d7a5b2d13fd076f300c68084b56713c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 19 Nov 2019 15:15:52 +0000 Subject: [Minor] Disable jemalloc on sanitized builds --- cmake/Sanitizer.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake/Sanitizer.cmake') diff --git a/cmake/Sanitizer.cmake b/cmake/Sanitizer.cmake index 73d72da8d..fc96fec8e 100644 --- a/cmake/Sanitizer.cmake +++ b/cmake/Sanitizer.cmake @@ -11,6 +11,7 @@ endif () if (SANITIZE) if (ENABLE_JEMALLOC MATCHES "ON") message (STATUS "Jemalloc support is useless in case of build with sanitizers") + set (ENABLE_JEMALLOC "OFF") endif () if (SANITIZE STREQUAL "address") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SAN_FLAGS} -fsanitize=address -fsanitize-address-use-after-scope") -- cgit v1.2.3