summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 12:46:12 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 12:46:12 +0000
commit41f3e135db165fff931a07ef79e7731037d22941 (patch)
tree017ec98d97b1b8e4e7905d1a07ce8b66b06478f0 /src/Makefile.am
parent4197eaf7b57056454cec3112683d84a3d0d7b194 (diff)
downloadconntrack-tools-41f3e135db165fff931a07ef79e7731037d22941.tar.gz
conntrack-tools-41f3e135db165fff931a07ef79e7731037d22941.zip
Max Kellermann <max@duempel.org>:
enable gcc warnings, including -Werror
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c2e684a..fafb5ff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -22,6 +22,9 @@ conntrackd_SOURCES = alarm.c main.c run.c hash.c queue.c buffer.c \
build.c parse.c \
read_config_yy.y read_config_lex.l
+# yacc and lex generate dirty code
+read_config_yy.o read_config_lex.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations -Wno-implicit-function-declaration -Wno-nested-externs -Wno-undef -Wno-redundant-decls
+
conntrackd_LDFLAGS = $(all_libraries) @LIBNETFILTER_CONNTRACK_LIBS@
EXTRA_DIST = read_config_yy.h