Build with ASAN on macOS by default.

This commit is contained in:
Nicholas Marriott
2026-07-12 13:26:25 +01:00
parent 6fd9987632
commit 330bedfb47
4 changed files with 24 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ AC_ARG_ENABLE(
asan,
AS_HELP_STRING(--enable-asan, enable ASAN build flags),
,
enable_asan=no
[case "x$host_os" in *darwin*) enable_asan=yes;; esac]
)
AM_CONDITIONAL(IS_ASAN, test "x$enable_asan" = xyes)