aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libottery/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-05 22:51:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-03-05 22:51:29 +0000
commit9bfff1d4775e19ce85272f61aecd64ce69b6a98a (patch)
tree53cede6206a0159c27fcdbc8798ba425ade19cfa /contrib/libottery/CMakeLists.txt
parentaa98ae97e6cdcc04519f1647ebe9e7aab6ea5388 (diff)
downloadrspamd-9bfff1d4775e19ce85272f61aecd64ce69b6a98a.tar.gz
rspamd-9bfff1d4775e19ce85272f61aecd64ce69b6a98a.zip
[Minor] Use less aggressive optimisation level
Diffstat (limited to 'contrib/libottery/CMakeLists.txt')
-rw-r--r--contrib/libottery/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libottery/CMakeLists.txt b/contrib/libottery/CMakeLists.txt
index 4a6ee31db..8a2385307 100644
--- a/contrib/libottery/CMakeLists.txt
+++ b/contrib/libottery/CMakeLists.txt
@@ -10,7 +10,7 @@ ADD_LIBRARY(ottery STATIC ${OTTERYSRC})
SET(OTTERY_CFLAGS "-DBUILD_RSPAMD -DOTTERY_NO_PID_CHECK -DOTTERY_NO_INIT_CHECK")
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")
+ SET(OTTERY_CFLAGS "${OTTERY_CFLAGS} -O2")
endif ()
ENDIF()
set_target_properties(ottery PROPERTIES COMPILE_FLAGS "${OTTERY_CFLAGS}") \ No newline at end of file