From: Vsevolod Stakhov Date: Tue, 10 Dec 2019 11:22:16 +0000 (+0000) Subject: [Minor] Disable ottery wipe stack as it breaks asan sometimes X-Git-Tag: 2.3~225 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1963ee16c64a66889d437c91f240bc711579007;p=thirdparty%2Frspamd.git [Minor] Disable ottery wipe stack as it breaks asan sometimes --- diff --git a/contrib/libottery/CMakeLists.txt b/contrib/libottery/CMakeLists.txt index 4a6ee31db5..84da8136a7 100644 --- a/contrib/libottery/CMakeLists.txt +++ b/contrib/libottery/CMakeLists.txt @@ -7,7 +7,7 @@ SET(OTTERYSRC chacha_merged.c aes_cryptobox.c) ADD_LIBRARY(ottery STATIC ${OTTERYSRC}) -SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK") +SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK -DOTTERY_NO_WIPE_STACK") IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") SET(OTTERY_CFLAGS "${OTTERY_CFLAGS} -O3")