summaryrefslogtreecommitdiff
path: root/usr.bin
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
parent8109c8552f994f7a1b51923cb71d027313a3d073 (diff)
move -Wxxx flags from CFALGS to COPTS
suggested by deraadt
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/aucat/Makefile5
-rw-r--r--usr.bin/sndiod/Makefile8
2 files changed, 8 insertions, 5 deletions
diff --git a/usr.bin/aucat/Makefile b/usr.bin/aucat/Makefile
index c8606efd625..c3588efd647 100644
--- a/usr.bin/aucat/Makefile
+++ b/usr.bin/aucat/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.19 2013/11/12 06:47:34 ratchov Exp $
+# $OpenBSD: Makefile,v 1.20 2013/11/19 07:24:57 ratchov Exp $
PROG= aucat
SRCS= aucat.c abuf.c aparams.c aproc.c dev.c midi.c file.c headers.c \
siofile.c miofile.c pipe.c wav.c dbg.c
MAN= aucat.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>
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>