summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-06-08 18:39:31 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-06-08 19:22:13 +0200
commite9f272a49eb36d8aad77e772135f47509a2425bd (patch)
tree55df9dccfcf4a48e845dcef4d1e517536ffa5b45 /Makefile.am
parentMerge pull request #2390 from pacovn/Coverity_1221459_Use_after_free (diff)
downloadfrr-e9f272a49eb36d8aad77e772135f47509a2425bd.tar.xz
frr-e9f272a49eb36d8aad77e772135f47509a2425bd.zip
*: disable all sanitizers for clippy build
* Move configure flag propagations out of user flags * Use AC_SUBST to transfer flag values to Automake * Set default AM_CFLAGS and AM_CPPFLAGS in common.am and change child Makefiles to modify these base variables * Add flag override to turn off all sanitizers when building clippy * Remove LSAN suppressions blacklist as it's no longer needed Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index df03da3b6..5dc80b498 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,9 +3,8 @@
AUTOMAKE_OPTIONS = subdir-objects 1.12
include common.am
-AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/lib \
+AM_CPPFLAGS += -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_srcdir)/lib \
-I$(top_builddir) -I$(top_builddir)/include -I$(top_builddir)/lib
-AM_CFLAGS = $(WERROR)
VERSION_TYPE := $(shell if echo $(VERSION) | grep -q '^[0-9\.]*$$'; then echo RELEASE ; else echo DEV ; fi)
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE) -DVERSION_TYPE_$(VERSION_TYPE)
LIBCAP = @LIBCAP@