From 9bfff1d4775e19ce85272f61aecd64ce69b6a98a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 5 Mar 2019 22:51:29 +0000 Subject: [Minor] Use less aggressive optimisation level --- contrib/zstd/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/zstd') diff --git a/contrib/zstd/CMakeLists.txt b/contrib/zstd/CMakeLists.txt index 2cccee0c1..cda9b66d6 100644 --- a/contrib/zstd/CMakeLists.txt +++ b/contrib/zstd/CMakeLists.txt @@ -25,6 +25,6 @@ ADD_DEFINITIONS(-DZSTD_STATIC_LINKING_ONLY) IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET_TARGET_PROPERTIES(rspamd-zstd PROPERTIES COMPILE_FLAGS "-O3") + SET_TARGET_PROPERTIES(rspamd-zstd PROPERTIES COMPILE_FLAGS "-O2") endif () ENDIF() -- cgit v1.2.3