summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayctl
diff options
context:
space:
mode:
authorhaesbaert <haesbaert@openbsd.org>2012-09-12 09:19:54 +0000
committerhaesbaert <haesbaert@openbsd.org>2012-09-12 09:19:54 +0000
commit9b9a50231f0ecef1d4e30459bcf82300e71848ca (patch)
treeda7b92c37fdee0564e512e335938b8354c83ac3b /usr.sbin/relayctl
parentFix a race condition which would cause segfault due to the kernel (diff)
downloadwireguard-openbsd-9b9a50231f0ecef1d4e30459bcf82300e71848ca.tar.xz
wireguard-openbsd-9b9a50231f0ecef1d4e30459bcf82300e71848ca.zip
Define empty CDIAGFLAGS for programs that use Werror.
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
Diffstat (limited to 'usr.sbin/relayctl')
-rw-r--r--usr.sbin/relayctl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayctl/Makefile b/usr.sbin/relayctl/Makefile
index 919871e6ebd..a3aa995f2a5 100644
--- a/usr.sbin/relayctl/Makefile
+++ b/usr.sbin/relayctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2010/05/26 16:44:32 nicm Exp $
+# $OpenBSD: Makefile,v 1.5 2012/09/12 09:19:54 haesbaert Exp $
.PATH: ${.CURDIR}/../relayd
@@ -14,5 +14,6 @@ CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare -Wbounded
+CDIAGFLAGS=
.include <bsd.prog.mk>