Commit 6a7245c2 authored by Shawn Webb's avatar Shawn Webb
Browse files

Support optionally building with ASAN


Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent ffb40d96
...@@ -21,6 +21,11 @@ LDFLAGS+= -L/usr/local/lib ...@@ -21,6 +21,11 @@ LDFLAGS+= -L/usr/local/lib
LDADD+= -lucl -lsqlite3 LDADD+= -lucl -lsqlite3
.if defined(ASANIFY)
CFLAGS+= -fsanitize=address
LDFLAGS+= -fsanitize=address
.endif
.if defined(PREFIX) .if defined(PREFIX)
INCLUDEDIR= ${PREFIX}/include INCLUDEDIR= ${PREFIX}/include
LIBDIR= ${PREFIX}/lib LIBDIR= ${PREFIX}/lib
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment