diff options
Diffstat (limited to 'contrib/lua-lpeg/CMakeLists.txt')
-rw-r--r-- | contrib/lua-lpeg/CMakeLists.txt | 6 |
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}") |