summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-07-04 10:25:36 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2019-07-04 10:27:11 +0200
commit4d6a90942c231a5a6628fe8e0b9bd9e8d4509d26 (patch)
treeb17a0fad81d3f58e740de3517a7cdb837846fb0e /cmake
parent4513e73e0fa67df1a54dfb3a0ec24d99ec1d5e52 (diff)
downloadmariadb-git-4d6a90942c231a5a6628fe8e0b9bd9e8d4509d26.tar.gz
Fix ASAN on clang-cl
Diffstat (limited to 'cmake')
-rw-r--r--cmake/os/Windows.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/os/Windows.cmake b/cmake/os/Windows.cmake
index aee550e1081..7fb9c91049b 100644
--- a/cmake/os/Windows.cmake
+++ b/cmake/os/Windows.cmake
@@ -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()