]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix debian flags
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Nov 2019 14:47:17 +0000 (14:47 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 18 Nov 2019 14:47:17 +0000 (14:47 +0000)
cmake/Sanitizer.cmake
debian/rules

index 723878d0d6254ca773f86a195e42b6740a391036..34ef288a7207378749ef98f40043f99d63966554 100644 (file)
@@ -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")
index 325cf5e3c02f53907b3b0c641a262431bc5546ca..ce36f1a0e4d290e8586c540683b8135cc8ca17fb 100755 (executable)
@@ -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 \