Add a configure flag for ASAN.

This commit is contained in:
Nicholas Marriott
2026-05-06 08:23:26 +01:00
parent ad94405dac
commit 2aad2cfc53
2 changed files with 13 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ endif
AM_CPPFLAGS += -DDEBUG
endif
AM_CPPFLAGS += -iquote.
if IS_ASAN
AM_CFLAGS += -fsanitize=address
AM_LDFLAGS += -fsanitize=address
endif
endif
# Set flags for Solaris.