aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/linenoise/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/linenoise/CMakeLists.txt')
-rw-r--r--contrib/linenoise/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/linenoise/CMakeLists.txt b/contrib/linenoise/CMakeLists.txt
index 8fc9ff843..93279f0b9 100644
--- a/contrib/linenoise/CMakeLists.txt
+++ b/contrib/linenoise/CMakeLists.txt
@@ -5,6 +5,6 @@ SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES VERSION ${RSPAMD_VERSION})
IF(ENABLE_FULL_DEBUG MATCHES "OFF")
if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
- SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES COMPILE_FLAGS "-O3")
+ SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES COMPILE_FLAGS "-O2")
endif ()
ENDIF()