aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/hiredis/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hiredis/CMakeLists.txt')
-rw-r--r--contrib/hiredis/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/hiredis/CMakeLists.txt b/contrib/hiredis/CMakeLists.txt
index f8b233996..1e056319f 100644
--- a/contrib/hiredis/CMakeLists.txt
+++ b/contrib/hiredis/CMakeLists.txt
@@ -6,13 +6,6 @@ SET(HIREDISSRC async.c
sds.c)
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} -O3")
-ENDIF()
-ENDIF()
-
ADD_LIBRARY(rspamd-hiredis STATIC ${HIREDISSRC})
SET_TARGET_PROPERTIES(rspamd-hiredis PROPERTIES COMPILE_FLAGS "${HIREDIS_CFLAGS}") \ No newline at end of file