aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/aho-corasick
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 /contrib/aho-corasick
parentead250d5804be03dbd6d7ade87450ddf3ef3a259 (diff)
downloadrspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.tar.gz
rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.zip
[Minor] Remove enforced "-O3" from contrib libraries
Diffstat (limited to 'contrib/aho-corasick')
-rw-r--r--contrib/aho-corasick/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/aho-corasick/CMakeLists.txt b/contrib/aho-corasick/CMakeLists.txt
index 93c51a146..2c431b5b8 100644
--- a/contrib/aho-corasick/CMakeLists.txt
+++ b/contrib/aho-corasick/CMakeLists.txt
@@ -1,12 +1,6 @@
SET(AHOCORASICSRC acism_create.c
acism.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} -O3")
-endif ()
-ENDIF()
-
IF(NOT GPL_RSPAMD_BINARY)
ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC})
target_link_libraries(rspamd-actrie glib-2.0)