From 63f8eb253deb26f001eee853875379dc42762dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 9 Jun 2022 11:54:22 +0300 Subject: [PATCH] mdbx: do not enable ASAN.detect_leaks in macOS since unsupported. --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.c b/src/core.c index 1a16136b..d13542e9 100644 --- a/src/core.c +++ b/src/core.c @@ -23147,7 +23147,9 @@ LIBMDBX_API __attribute__((__weak__)) const char *__asan_default_options() { "report_globals=1:" "replace_str=1:replace_intrin=1:" "malloc_context_size=9:" +#if !defined(__APPLE__) "detect_leaks=1:" +#endif "check_printf=1:" "detect_deadlocks=1:" #ifndef LTO_ENABLED