summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mksuncd
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/mksuncd
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/mksuncd')
-rw-r--r--usr.sbin/mksuncd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/mksuncd/Makefile b/usr.sbin/mksuncd/Makefile
index aea07208ae7..b4bb250851a 100644
--- a/usr.sbin/mksuncd/Makefile
+++ b/usr.sbin/mksuncd/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.2 2008/09/12 15:59:37 jmc Exp $
+# $OpenBSD: Makefile,v 1.3 2012/09/12 09:19:54 haesbaert Exp $
.if ${MACHINE} == "sparc64"
PROG= mksuncd
CFLAGS+=-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
+CDIAGFLAGS=
.else
NOPROG=