summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2000-10-03 14:28:22 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2000-10-03 14:28:22 +0000
commit75dbe5b51e69890088183eac97221b1a7ab25d5c (patch)
tree8a9ded78d419f52ce7d581ab592a718c75dc8c75
parent6fefd2bff2258e0862fb6fc9762815c9e35d3a83 (diff)
Add -Wall -Werror to CFLAGS. (niklas@, jakob@ ok)
-rw-r--r--usr.sbin/tcpdump/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/Makefile b/usr.sbin/tcpdump/Makefile
index 7cc3d144ce9..d1bb796c9e0 100644
--- a/usr.sbin/tcpdump/Makefile
+++ b/usr.sbin/tcpdump/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2000/04/26 21:35:36 jakob Exp $
+# $OpenBSD: Makefile,v 1.22 2000/10/03 14:28:21 ho Exp $
#
# Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994
# The Regents of the University of California. All rights reserved.
@@ -23,6 +23,8 @@
PROG= tcpdump
MAN= tcpdump.8
+CFLAGS+=-Wall -Werror
+
CFLAGS+=-DCSLIP -DPPP -DHAVE_FDDI -DETHER_SERVICE -DRETSIGTYPE=void -DHAVE_NET_SLIP_H -DHAVE_ETHER_NTOHOST -DINET6
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "sparc")
CFLAGS+=-DLBL_ALIGN