mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 07:27:59 -08:00
We can enable many -W compiler warnings now.
OK rzalamena@
This commit is contained in:
parent
22c60a6bb5
commit
a4c1d3a0c1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2017/02/13 19:15:39 krw Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2017/04/05 14:43:14 reyk Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -7,5 +7,9 @@ PROG= dhcrelay
|
||||
MAN= dhcrelay.8
|
||||
|
||||
CFLAGS+=-Wall
|
||||
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS+=-Wmissing-declarations
|
||||
CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
|
||||
CFLAGS+=-Wsign-compare
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user