diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-12-04 14:12:39 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-12-04 14:12:39 +0000 |
commit | 9be5ac33b5e08734db941f811267dd396b4b9426 (patch) | |
tree | 1ba3cab55c3f004113e8645924c81820db1cf1f0 /cmake/Sanitizer.cmake | |
parent | d8efaee9fe69c6c72ba53b038b39b41103be8620 (diff) | |
download | rspamd-9be5ac33b5e08734db941f811267dd396b4b9426.tar.gz rspamd-9be5ac33b5e08734db941f811267dd396b4b9426.zip |
[Minor] Allow ubsan usage
Diffstat (limited to 'cmake/Sanitizer.cmake')
-rw-r--r-- | cmake/Sanitizer.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Sanitizer.cmake b/cmake/Sanitizer.cmake index 4b4df9fae..74d6a4b1c 100644 --- a/cmake/Sanitizer.cmake +++ b/cmake/Sanitizer.cmake @@ -46,7 +46,7 @@ if (SANITIZE) set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libubsan") set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libubsan") endif () - + else () message (FATAL_ERROR "Unknown sanitizer type: ${SANITIZE}") endif () message (STATUS "Add sanitizer: ${SANITIZE}") |