diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-18 14:47:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-18 14:47:17 +0000 |
commit | c4f656fb1889977add1f9b82fae96b5b0dea7f40 (patch) | |
tree | 31ac4f734dc2540d34fcab86c6ec0e0fe0e091d2 /cmake/Sanitizer.cmake | |
parent | c3928cf525609b7d8d0bb37091411a9b87c4ddec (diff) | |
download | rspamd-c4f656fb1889977add1f9b82fae96b5b0dea7f40.tar.gz rspamd-c4f656fb1889977add1f9b82fae96b5b0dea7f40.zip |
[Minor] Fix debian flags
Diffstat (limited to 'cmake/Sanitizer.cmake')
-rw-r--r-- | cmake/Sanitizer.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Sanitizer.cmake b/cmake/Sanitizer.cmake index 723878d0d..34ef288a7 100644 --- a/cmake/Sanitizer.cmake +++ b/cmake/Sanitizer.cmake @@ -9,6 +9,9 @@ else () set (SAN_FLAGS "${SAN_FLAGS} -O1") endif () if (SANITIZE) + if (ENABLE_JEMALLOC MATCHES "ON") + message (STATUS "Jemalloc support is useless in case of build with sanitizers") + endif () if (SANITIZE STREQUAL "address") set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SAN_FLAGS} -fsanitize=address -fsanitize-address-use-after-scope") set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SAN_FLAGS} -fsanitize=address -fsanitize-address-use-after-scope") |