summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-11-19 07:24:58 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-11-19 07:24:58 +0000
commit955de0f441f43b5980b407e6576b3ec9e9aa464f (patch)
tree16039ea667585e0a8ddb18b8b1da38f34588e05a /usr.bin/sndiod
parent8109c8552f994f7a1b51923cb71d027313a3d073 (diff)
move -Wxxx flags from CFALGS to COPTS
suggested by deraadt
Diffstat (limited to 'usr.bin/sndiod')
-rw-r--r--usr.bin/sndiod/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/sndiod/Makefile b/usr.bin/sndiod/Makefile
index e8c1eabfcaf..bf85ceb0226 100644
--- a/usr.bin/sndiod/Makefile
+++ b/usr.bin/sndiod/Makefile
@@ -1,8 +1,10 @@
-# $OpenBSD: Makefile,v 1.1 2012/11/23 07:03:28 ratchov Exp $
+# $OpenBSD: Makefile,v 1.2 2013/11/19 07:24:57 ratchov Exp $
PROG= sndiod
-SRCS= abuf.c dev.c dsp.c file.c listen.c midi.c miofile.c opt.c siofile.c sndiod.c sock.c utils.c
+SRCS= abuf.c dev.c dsp.c file.c listen.c midi.c miofile.c \
+ opt.c siofile.c sndiod.c sock.c utils.c
MAN= sndiod.1
-CFLAGS+= -Wall -Wstrict-prototypes -Wundef -DDEBUG -I${.CURDIR}/../../lib/libsndio
+CFLAGS+=-DDEBUG -I${.CURDIR}/../../lib/libsndio
+COPTS+= -Wall -Wstrict-prototypes -Wpointer-arith -Wundef
LDADD+= -lsndio
.include <bsd.prog.mk>