diff options
author | 2013-11-19 07:24:57 +0000 | |
---|---|---|
committer | 2013-11-19 07:24:57 +0000 | |
commit | 93e53464662575ee6e85694020a4609bd58a3a0c (patch) | |
tree | c2186d04db9cf79f022e81c9194ce36fe74103df | |
parent | regen (diff) | |
download | wireguard-openbsd-93e53464662575ee6e85694020a4609bd58a3a0c.tar.xz wireguard-openbsd-93e53464662575ee6e85694020a4609bd58a3a0c.zip |
move -Wxxx flags from CFALGS to COPTS
suggested by deraadt
-rw-r--r-- | lib/libsndio/Makefile | 6 | ||||
-rw-r--r-- | usr.bin/aucat/Makefile | 5 | ||||
-rw-r--r-- | usr.bin/sndiod/Makefile | 8 |
3 files changed, 11 insertions, 8 deletions
diff --git a/lib/libsndio/Makefile b/lib/libsndio/Makefile index ee555ab0958..31940e2de45 100644 --- a/lib/libsndio/Makefile +++ b/lib/libsndio/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.9 2012/09/12 09:19:54 haesbaert Exp $ +# $OpenBSD: Makefile,v 1.10 2013/11/19 07:24:57 ratchov Exp $ LIB= sndio MAN= sio_open.3 mio_open.3 sndio.7 SRCS= debug.c aucat.c sio_aucat.c sio_sun.c sio.c \ mio_rmidi.c mio_aucat.c mio.c -CFLAGS+=-Wall -Wstrict-prototypes -Werror -Wundef -DDEBUG -CDIAGFLAGS= +CFLAGS+=-DDEBUG +COPTS+= -Wall -Wstrict-prototypes -Wpointer-arith -Wundef MLINKS = \ sio_open.3 sio_close.3 \ 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> |