summaryrefslogtreecommitdiffstats
path: root/cmake
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 /cmake
parentead250d5804be03dbd6d7ade87450ddf3ef3a259 (diff)
downloadrspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.tar.gz
rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.zip
[Minor] Remove enforced "-O3" from contrib libraries
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Toolset.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Toolset.cmake b/cmake/Toolset.cmake
index 8e7c1bb29..2d4460097 100644
--- a/cmake/Toolset.cmake
+++ b/cmake/Toolset.cmake
@@ -161,8 +161,8 @@ else ()
set (CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE} -O2 ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
set (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O2 ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
- set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O1 ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
- set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O1 ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
+ set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
+ set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 ${COMPILER_FAST_MATH} ${COMPILER_DEBUG_FLAGS}")
endif()