summaryrefslogtreecommitdiff
path: root/setup_native/StaticLibrary_seterror.mk
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@collabora.co.uk>2023-10-25 10:29:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-10-25 12:48:28 +0200
commit505c5821d6d4849cb793584a7775ded24c791590 (patch)
tree56d3ea447a487b09ed22d841244be0daf18ea943 /setup_native/StaticLibrary_seterror.mk
parent33f158d96c5782a862345736bc6561afe3d583b5 (diff)
small steps to getting ASAN on Windows working
Change-Id: Ie8941a7cc87cb5c5dba62e9356e960e45f5560d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158416 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'setup_native/StaticLibrary_seterror.mk')
-rw-r--r--setup_native/StaticLibrary_seterror.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup_native/StaticLibrary_seterror.mk b/setup_native/StaticLibrary_seterror.mk
index 92297690419b..c6fdb80c9889 100644
--- a/setup_native/StaticLibrary_seterror.mk
+++ b/setup_native/StaticLibrary_seterror.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_StaticLibrary_add_defs,seterror,\
$(eval $(call gb_StaticLibrary_add_cxxflags,seterror,\
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
+ $(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,seterror,\