From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org>
Date: Sat, 23 Jul 2011 22:50:27 +0200
Subject: [PATCH] Add -Werror to CFLAGS
---
bgpctl/Makefile | 2 +-
bgpd/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bgpctl/Makefile b/bgpctl/Makefile
index 9ee43bb..b5b6958 100644
--- a/bgpctl/Makefile
+++ b/bgpctl/Makefile
@@ -5,7 +5,7 @@ SRCS= bgpctl.c parser.c ../bgpd/util.c ../bgpd/timer.c
SRCS+= irrfilter.c whois.c irr_asset.c irr_prefix.c irr_output.c
SRCS+= irr_parser.c
SRCS+= ../openbsd-compat/fmt_scaled.c ../openbsd-compat/imsg.c ../openbsd-compat/imsg-buffer.c
-CFLAGS+= -Wall
+CFLAGS+= -Wall -Werror
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
diff --git a/bgpd/Makefile b/bgpd/Makefile
index 382be2d..6835945 100644
--- a/bgpd/Makefile
+++ b/bgpd/Makefile
@@ -8,7 +8,7 @@ SRCS= bgpd.c session.c log.c parse.y config.c \
control.c ../openbsd-compat/pfkey_compat.c rde_update.c rde_attr.c printconf.c \
rde_filter.c pftable.c name2id.c util.c carp.c timer.c \
../openbsd-compat/imsg.c ../openbsd-compat/imsg-buffer.c
-CFLAGS+= -Wall -I$(CURDIR)
+CFLAGS+= -Wall -Werror -I$(CURDIR)
CFLAGS+= -I$(CURDIR)/../openbsd-compat
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
--