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>
This commit is contained in:
parent
33f158d96c
commit
505c5821d6
12 changed files with 12 additions and 0 deletions
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,inst_msu_msi,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,inst_msu_msi,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,inst_msu_msi,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,instooofiltmsi,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,instooofiltmsi,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,instooofiltmsi,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,qslnkmsi,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,qslnkmsi,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,qslnkmsi,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,reg4allmsdoc,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,reg4allmsdoc,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,reg4allmsdoc,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,reg_dlls,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,reg_dlls,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,reg_dlls,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,regactivex,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,regactivex,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,regactivex,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,sdqsmsi,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,sdqsmsi,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,sdqsmsi,\
|
||||
|
|
|
@ -19,6 +19,7 @@ $(eval $(call gb_Library_add_defs,sellangmsi,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,sellangmsi,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,sellangmsi,\
|
||||
|
|
|
@ -17,6 +17,7 @@ $(eval $(call gb_Library_add_defs,shlxtmsi,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,shlxtmsi,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,shlxtmsi,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_Library_add_defs,sn_tools,\
|
|||
|
||||
$(eval $(call gb_Library_add_cxxflags,sn_tools,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Library_add_ldflags,sn_tools,\
|
||||
|
|
|
@ -15,6 +15,7 @@ $(eval $(call gb_StaticLibrary_add_defs,quickstarter,\
|
|||
|
||||
$(eval $(call gb_StaticLibrary_add_cxxflags,quickstarter,\
|
||||
$(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
|
||||
$(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_exception_objects,quickstarter,\
|
||||
|
|
|
@ -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,\
|
||||
|
|
Loading…
Reference in a new issue