summaryrefslogtreecommitdiffstats
path: root/contrib/lua-lpeg
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/lua-lpeg
parentead250d5804be03dbd6d7ade87450ddf3ef3a259 (diff)
downloadrspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.tar.gz
rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.zip
[Minor] Remove enforced "-O3" from contrib libraries
Diffstat (limited to 'contrib/lua-lpeg')
-rw-r--r--contrib/lua-lpeg/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/contrib/lua-lpeg/CMakeLists.txt b/contrib/lua-lpeg/CMakeLists.txt
index 2362aac9c..92dd0182d 100644
--- a/contrib/lua-lpeg/CMakeLists.txt
+++ b/contrib/lua-lpeg/CMakeLists.txt
@@ -4,12 +4,6 @@ SET(LPEGSRC lpcap.c
lptree.c
lpvm.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} -O3")
-endif ()
-ENDIF()
-
SET(LIB_TYPE STATIC)
ADD_LIBRARY(rspamd-lpeg ${LIB_TYPE} ${LPEGSRC})
set_target_properties(rspamd-lpeg PROPERTIES COMPILE_FLAGS "${LPEG_CFLAGS}")