aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \