From 95bd67f239f8051a1c1f6772fd89bd151ba78098 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 27 Oct 2008 18:02:15 +0000 Subject: 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. --- usr.bin/aucat/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/aucat/Makefile') 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 -- cgit v1.2.3