summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-06-15 20:35:53 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-06-15 20:35:53 +0200
commit7cc0626c421f321c8d74353a500e13643dba63ec (patch)
treeec8799d4b76bb3680a6e3e59dfcc40c21845e5a4
parenttests: fixup minor autotools nit (diff)
downloadfrr-7cc0626c421f321c8d74353a500e13643dba63ec.tar.xz
frr-7cc0626c421f321c8d74353a500e13643dba63ec.zip
lib: ignore user CFLAGS when building Clippy
Unfortunately user CFLAGS causes #define conflicts with #defines in Python development headers, which causes build failures under certain platforms when using -Werror. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r--lib/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subdir.am b/lib/subdir.am
index 9472fabe1..9eaae59df 100644
--- a/lib/subdir.am
+++ b/lib/subdir.am
@@ -236,7 +236,7 @@ lib_grammar_sandbox_LDADD = \
lib/libfrr.la
lib_clippy_CPPFLAGS = $(AM_CPPFLAGS) -D_GNU_SOURCE -DBUILDING_CLIPPY @SAN_CLIPPY_FLAGS@
-lib_clippy_CFLAGS = $(PYTHON_CFLAGS) $(AM_CFLAGS) @SAN_CLIPPY_FLAGS@
+lib_clippy_CFLAGS = $(PYTHON_CFLAGS) @SAN_CLIPPY_FLAGS@
lib_clippy_LDADD = $(PYTHON_LIBS)
lib_clippy_SOURCES = \
lib/clippy.c \