summaryrefslogtreecommitdiffstats
path: root/contrib/http-parser
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/http-parser
parentead250d5804be03dbd6d7ade87450ddf3ef3a259 (diff)
downloadrspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.tar.gz
rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.zip
[Minor] Remove enforced "-O3" from contrib libraries
Diffstat (limited to 'contrib/http-parser')
-rw-r--r--contrib/http-parser/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/http-parser/CMakeLists.txt b/contrib/http-parser/CMakeLists.txt
index 499c85e93..a5da7010c 100644
--- a/contrib/http-parser/CMakeLists.txt
+++ b/contrib/http-parser/CMakeLists.txt
@@ -2,11 +2,6 @@ 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} -O3")
-endif ()
-ENDIF()
ADD_LIBRARY(rspamd-http-parser STATIC ${HTTPSRC})
SET_TARGET_PROPERTIES(rspamd-http-parser PROPERTIES VERSION ${RSPAMD_VERSION})