aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libottery
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-25 13:05:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-25 13:05:01 +0000
commit4c81a5218361d75b0e06fb79a0578b428eedad87 (patch)
tree84ef6e5946808123d78f2cb7bb3908174ff96b52 /contrib/libottery
parentead250d5804be03dbd6d7ade87450ddf3ef3a259 (diff)
downloadrspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.tar.gz
rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.zip
[Minor] Remove enforced "-O3" from contrib libraries
Diffstat (limited to 'contrib/libottery')
-rw-r--r--contrib/libottery/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/libottery/CMakeLists.txt b/contrib/libottery/CMakeLists.txt
index 84da8136a..b8536f2f1 100644
--- a/contrib/libottery/CMakeLists.txt
+++ b/contrib/libottery/CMakeLists.txt
@@ -8,9 +8,4 @@ SET(OTTERYSRC chacha_merged.c
ADD_LIBRARY(ottery STATIC ${OTTERYSRC})
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")
-endif ()
-ENDIF()
set_target_properties(ottery PROPERTIES COMPILE_FLAGS "${OTTERY_CFLAGS}") \ No newline at end of file