diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-05 23:18:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-05 23:18:19 +0000 |
commit | 736a5f1d1240dc97f959b437c080fe816164b046 (patch) | |
tree | c0b28b12bab8e3b73e00ea7d0e512e3311def979 /contrib | |
parent | 0b5d7084cee77d143bbb2a4f03ee4ed9e570d61d (diff) | |
download | rspamd-736a5f1d1240dc97f959b437c080fe816164b046.tar.gz rspamd-736a5f1d1240dc97f959b437c080fe816164b046.zip |
Revert "[Minor] Use less aggressive optimisation level"
This reverts commit 9bfff1d4775e19ce85272f61aecd64ce69b6a98a.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/aho-corasick/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/hiredis/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/http-parser/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/lc-btrie/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/libottery/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/linenoise/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/lua-lpeg/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/t1ha/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/xxhash/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/zstd/CMakeLists.txt | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/contrib/aho-corasick/CMakeLists.txt b/contrib/aho-corasick/CMakeLists.txt index fb0e70bbc..93c51a146 100644 --- a/contrib/aho-corasick/CMakeLists.txt +++ b/contrib/aho-corasick/CMakeLists.txt @@ -3,7 +3,7 @@ SET(AHOCORASICSRC acism_create.c IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2") + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif () ENDIF() diff --git a/contrib/hiredis/CMakeLists.txt b/contrib/hiredis/CMakeLists.txt index 7648c0dcc..f8b233996 100644 --- a/contrib/hiredis/CMakeLists.txt +++ b/contrib/hiredis/CMakeLists.txt @@ -9,7 +9,7 @@ SET(HIREDIS_CFLAGS "") IF(ENABLE_FULL_DEBUG MATCHES "OFF") IF("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET(HIREDIS_CFLAGS "${HIREDIS_CFLAGS} -O2") + SET(HIREDIS_CFLAGS "${HIREDIS_CFLAGS} -O3") ENDIF() ENDIF() diff --git a/contrib/http-parser/CMakeLists.txt b/contrib/http-parser/CMakeLists.txt index cb6767272..499c85e93 100644 --- a/contrib/http-parser/CMakeLists.txt +++ b/contrib/http-parser/CMakeLists.txt @@ -4,7 +4,7 @@ SET(HTTPSRC http_parser.c) SET(HTTP_COMPILE_FLAGS "-DRSPAMD_LIB") IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - set(HTTP_COMPILE_FLAGS "${HTTP_COMPILE_FLAGS} -O2") + set(HTTP_COMPILE_FLAGS "${HTTP_COMPILE_FLAGS} -O3") endif () ENDIF() diff --git a/contrib/lc-btrie/CMakeLists.txt b/contrib/lc-btrie/CMakeLists.txt index 3b7a1cf24..b520bda86 100644 --- a/contrib/lc-btrie/CMakeLists.txt +++ b/contrib/lc-btrie/CMakeLists.txt @@ -4,7 +4,7 @@ ADD_LIBRARY(lcbtrie STATIC ${LCTRIESRC}) SET(LCTRIE_CFLAGS "-DBUILD_RSPAMD") IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET(LCTRIE_CFLAGS "${LCTRIE_CFLAGS} -O2") + SET(LCTRIE_CFLAGS "${LCTRIE_CFLAGS} -O3") endif () ENDIF() diff --git a/contrib/libottery/CMakeLists.txt b/contrib/libottery/CMakeLists.txt index 8a2385307..4a6ee31db 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} -O2") + SET(OTTERY_CFLAGS "${OTTERY_CFLAGS} -O3") endif () ENDIF() set_target_properties(ottery PROPERTIES COMPILE_FLAGS "${OTTERY_CFLAGS}")
\ No newline at end of file diff --git a/contrib/linenoise/CMakeLists.txt b/contrib/linenoise/CMakeLists.txt index 93279f0b9..8fc9ff843 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 "-O2") + SET_TARGET_PROPERTIES(rspamd-linenoise PROPERTIES COMPILE_FLAGS "-O3") endif () ENDIF() diff --git a/contrib/lua-lpeg/CMakeLists.txt b/contrib/lua-lpeg/CMakeLists.txt index e8b337935..2362aac9c 100644 --- a/contrib/lua-lpeg/CMakeLists.txt +++ b/contrib/lua-lpeg/CMakeLists.txt @@ -6,7 +6,7 @@ SET(LPEGSRC lpcap.c IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET(LPEG_CFLAGS "${LPEG_CFLAGS} -O2") + SET(LPEG_CFLAGS "${LPEG_CFLAGS} -O3") endif () ENDIF() diff --git a/contrib/t1ha/CMakeLists.txt b/contrib/t1ha/CMakeLists.txt index 626dda509..491010ff9 100644 --- a/contrib/t1ha/CMakeLists.txt +++ b/contrib/t1ha/CMakeLists.txt @@ -7,6 +7,6 @@ ADD_DEFINITIONS("-DT1HA_USE_FAST_ONESHOT_READ=0") IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET_TARGET_PROPERTIES(rspamd-t1ha PROPERTIES COMPILE_FLAGS "-O2") + SET_TARGET_PROPERTIES(rspamd-t1ha PROPERTIES COMPILE_FLAGS "-O3") endif () ENDIF() diff --git a/contrib/xxhash/CMakeLists.txt b/contrib/xxhash/CMakeLists.txt index b4feec1d6..8caf319e4 100644 --- a/contrib/xxhash/CMakeLists.txt +++ b/contrib/xxhash/CMakeLists.txt @@ -4,6 +4,6 @@ ADD_LIBRARY(xxhash STATIC ${XXHASHSRC}) IF(ENABLE_FULL_DEBUG MATCHES "OFF") if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU") - SET_TARGET_PROPERTIES(xxhash PROPERTIES COMPILE_FLAGS "-O2") + SET_TARGET_PROPERTIES(xxhash PROPERTIES COMPILE_FLAGS "-O3") endif () ENDIF() diff --git a/contrib/zstd/CMakeLists.txt b/contrib/zstd/CMakeLists.txt index cda9b66d6..2cccee0c1 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 "-O2") + SET_TARGET_PROPERTIES(rspamd-zstd PROPERTIES COMPILE_FLAGS "-O3") endif () ENDIF() |