From d9b597201481234eaf598dac02e74a0d949adff3 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 22 Jun 2011 02:49:41 +0000 Subject: [PATCH] apply some -Wno-error and/or -fno-strict-aliasing. all of this should be looked at closer, but some of them are not very trivial. --- common/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/Makefile b/common/Makefile index 54a40bc..2994880 100644 --- a/common/Makefile +++ b/common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2011/06/20 07:44:03 mrg Exp $ +# $NetBSD: Makefile,v 1.16 2011/06/22 02:49:45 mrg Exp $ LIBISPRIVATE= yes @@ -23,3 +23,8 @@ version.c: VERSION .if defined(HAVE_GCC) || defined(HAVE_PCC) COPTS.print.c+= -Wno-pointer-sign .endif + +# XXX +.if ${HAVE_GCC} == 45 +COPTS.file.c+= -Wno-error +.endif