aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-18 14:47:17 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-11-18 14:47:17 +0000
commitc4f656fb1889977add1f9b82fae96b5b0dea7f40 (patch)
tree31ac4f734dc2540d34fcab86c6ec0e0fe0e091d2
parentc3928cf525609b7d8d0bb37091411a9b87c4ddec (diff)
downloadrspamd-c4f656fb1889977add1f9b82fae96b5b0dea7f40.tar.gz
rspamd-c4f656fb1889977add1f9b82fae96b5b0dea7f40.zip
[Minor] Fix debian flags
-rw-r--r--cmake/Sanitizer.cmake3
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 2 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")
diff --git a/debian/rules b/debian/rules
index 325cf5e3c..ce36f1a0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,8 +21,6 @@ override_dh_auto_configure:
-DDEBIAN_BUILD=1 \
-DINSTALL_EXAMPLES=ON \
-DENABLE_JEMALLOC=ON \
- -DENABLE_OPTIMIZATION=OFF \
- -DENABLE_FULL_DEBUG=OFF \
-DENABLE_GD=OFF \
-DENABLE_PCRE2=OFF \
-DENABLE_LUAJIT=ON \