mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Fix ASAN on clang-cl
This commit is contained in:
parent
4513e73e0f
commit
4d6a90942c
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ IF(MSVC)
|
|||
SET(DYNAMIC_UCRT_LINKER_OPTION " /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib")
|
||||
|
||||
IF(WITH_ASAN)
|
||||
SET(MSVC_CRT_TYPE /MD CACHE STRING FORCE)
|
||||
# Workaround something Linux specific
|
||||
SET(SECURITY_HARDENED 0 CACHE INTERNAL "" FORCE)
|
||||
ENABLE_ASAN()
|
||||
ENDIF()
|
||||
|
||||
|
|
Loading…
Reference in a new issue