summaryrefslogtreecommitdiffstats
path: root/contrib/hiredis
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-25 16:23:02 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-25 16:23:02 +0000
commit6eecb5ce7c89b5d203b175445b338a9ddd3a1368 (patch)
tree77dffc7d2e7e9a97cc6ae514e5a0fd9e4aaf6388 /contrib/hiredis
parentde8ca5b3ac969491416a064840f963622fd3d59c (diff)
downloadrspamd-6eecb5ce7c89b5d203b175445b338a9ddd3a1368.tar.gz
rspamd-6eecb5ce7c89b5d203b175445b338a9ddd3a1368.zip
[Minor] Add enable full debug option
Diffstat (limited to 'contrib/hiredis')
-rw-r--r--contrib/hiredis/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/hiredis/CMakeLists.txt b/contrib/hiredis/CMakeLists.txt
index 5134ee9a6..f8b233996 100644
--- a/contrib/hiredis/CMakeLists.txt
+++ b/contrib/hiredis/CMakeLists.txt
@@ -6,9 +6,12 @@ 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})