diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 19:35:44 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-02-26 19:35:44 +0000 |
commit | f0648d8e6dcd34769e8931d78498c0e29a69eff5 (patch) | |
tree | 7a1afdba6e40ca1d4cb7616680ab9eb8fc3a9627 /usr.sbin/hoststated | |
parent | 70aa415308f91891bc3dfa7e140f230df4b0b879 (diff) |
re-enable the -W flags except -Werror which behaves differently with
different gcc versions (it previously broke the tree on sparc with gcc
2.95 when compiling sys/hash.h).
-Werror removal suggested by deraadt@
Diffstat (limited to 'usr.sbin/hoststated')
-rw-r--r-- | usr.sbin/hoststated/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/hoststated/Makefile b/usr.sbin/hoststated/Makefile index 2cba9a46ad9..f59567497ac 100644 --- a/usr.sbin/hoststated/Makefile +++ b/usr.sbin/hoststated/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2007/02/25 18:15:37 deraadt Exp $ +# $OpenBSD: Makefile,v 1.11 2007/02/26 19:35:43 reyk Exp $ PROG= hoststated SRCS= parse.y log.c control.c buffer.c imsg.c hoststated.c \ @@ -8,11 +8,11 @@ MAN= hoststated.8 hoststated.conf.5 LDADD= -levent -lssl -lcrypto DPADD= ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO} -CFLAGS+= -Wall -Werror -I${.CURDIR} -#CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes -#CFLAGS+= -Wmissing-declarations -#CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -#CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wall -I${.CURDIR} +CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes +CFLAGS+= -Wmissing-declarations +CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual +CFLAGS+= -Wsign-compare -Wbounded CLEANFILES+= y.tab.h .include <bsd.prog.mk> |