diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-25 13:05:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-25 13:05:01 +0000 |
commit | 4c81a5218361d75b0e06fb79a0578b428eedad87 (patch) | |
tree | 84ef6e5946808123d78f2cb7bb3908174ff96b52 /contrib/fpconv | |
parent | ead250d5804be03dbd6d7ade87450ddf3ef3a259 (diff) | |
download | rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.tar.gz rspamd-4c81a5218361d75b0e06fb79a0578b428eedad87.zip |
[Minor] Remove enforced "-O3" from contrib libraries
Diffstat (limited to 'contrib/fpconv')
-rw-r--r-- | contrib/fpconv/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/fpconv/CMakeLists.txt b/contrib/fpconv/CMakeLists.txt index 0d27dbb7f..b3305250b 100644 --- a/contrib/fpconv/CMakeLists.txt +++ b/contrib/fpconv/CMakeLists.txt @@ -1,11 +1,6 @@ SET(FPCONVSRC fpconv.c) SET(FTPCONV_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(FTPCONV_COMPILE_FLAGS "${FTPCONV_COMPILE_FLAGS} -O3") - endif () -ENDIF() ADD_LIBRARY(rspamd-fpconv STATIC ${FPCONVSRC}) SET_TARGET_PROPERTIES(rspamd-fpconv PROPERTIES VERSION ${RSPAMD_VERSION}) |