diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-22 01:47:34 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-03-22 01:47:34 +0100 |
commit | fac8a744c6033a9c03a3edd40e4fc4a0f72e6e1f (patch) | |
tree | ad36464b9a98024e04f37bc8ec9c13244b8e5ed7 /common.am | |
parent | Merge pull request #1935 from qlyoung/doc-how-to-style (diff) | |
download | frr-fac8a744c6033a9c03a3edd40e4fc4a0f72e6e1f.tar.xz frr-fac8a744c6033a9c03a3edd40e4fc4a0f72e6e1f.zip |
frr: --enable-address-sanitizer
Modify Autotools files to support an easy option for enabling ASAN.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'common.am')
-rw-r--r-- | common.am | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,12 +8,13 @@ am__v_CLIPPY_ = $(am__v_CLIPPY_$(AM_DEFAULT_VERBOSITY)) am__v_CLIPPY_0 = @echo " CLIPPY " $@; am__v_CLIPPY_1 = +CLIPPY_SUPPRESSIONS = LSAN_OPTIONS="suppressions=$(top_builddir)/tools/lsan-suppressions.txt" CLIPPY_DEPS = $(HOSTTOOLS)lib/clippy $(top_srcdir)/python/clidef.py SUFFIXES = _clippy.c .proto .pb-c.c .pb-c.h .pb.h .c_clippy.c: @{ test -x $(top_builddir)/$(HOSTTOOLS)lib/clippy || $(MAKE) -C $(top_builddir)/$(HOSTTOOLS) lib/clippy; } - $(AM_V_CLIPPY)$(top_builddir)/$(HOSTTOOLS)lib/clippy $(top_srcdir)/python/clidef.py -o $@ $< + $(AM_V_CLIPPY) $(CLIPPY_SUPPRESSIONS) $(top_builddir)/$(HOSTTOOLS)lib/clippy $(top_srcdir)/python/clidef.py -o $@ $< ## automake's "ylwrap" is a great piece of GNU software... not. .l.c: |