summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/Makefile
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-10-27 18:02:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-10-27 18:02:15 +0000
commit95bd67f239f8051a1c1f6772fd89bd151ba78098 (patch)
tree95f64530586ad23c52f560b460f66d2963c7a32f /usr.bin/aucat/Makefile
parentfc84f34e8816bbd5e449488c029fcf5648e1e092 (diff)
No -Werror on m88k, hairy gcc bug generates false ``variable might be used
uninitialized'' warnings. To be removed when the compiler bug is fixed eventually.
Diffstat (limited to 'usr.bin/aucat/Makefile')
-rw-r--r--usr.bin/aucat/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/aucat/Makefile b/usr.bin/aucat/Makefile
index 59505997610..c5eba0290fe 100644
--- a/usr.bin/aucat/Makefile
+++ b/usr.bin/aucat/Makefile
@@ -1,8 +1,12 @@
-# $OpenBSD: Makefile,v 1.5 2008/10/27 00:26:33 ratchov Exp $
+# $OpenBSD: Makefile,v 1.6 2008/10/27 18:02:14 miod Exp $
PROG= aucat
SRCS= aucat.c abuf.c aparams.c aproc.c dev.c file.c headers.c \
safile.c sock.c pipe.c listen.c wav.c legacy.c
-CFLAGS+= -DDEBUG -Wall -Wstrict-prototypes -Werror -Wundef
+CFLAGS+= -DDEBUG -Wall -Wstrict-prototypes -Wundef
+# false warnings on 64 bit variables for which no toolchain fix is available yet
+.if ${MACHINE_ARCH} != "m88k"
+CFLAGS+= -Werror
+.endif
LDADD+= -lsndio
.include <bsd.prog.mk>