add optional support for building with asan

This commit is contained in:
djcb
2018-11-03 15:47:39 +02:00
parent 7c63fe65eb
commit 052a228be7
8 changed files with 66 additions and 25 deletions

View File

@ -26,13 +26,18 @@ AM_CPPFLAGS=-I${top_srcdir}/lib $(GLIB_CFLAGS)
# use -Wno-unused-parameters, because some callbacks may not
# really need all the params they get
AM_CFLAGS= \
$(ASAN_CFLAGS) \
$(WARN_CFLAGS) \
-Wno-switch-enum \
-DMU_SCRIPTS_DIR="\"$(pkgdatadir)/scripts/\""
AM_CXXFLAGS= \
$(ASAN_CXXCFLAGS) \
$(WARN_CXXFLAGS)
AM_LDFLAGS= \
$(ASAN_LDFLAGS)
bin_PROGRAMS= \
mu