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.
This commit is contained in:
mrg
2011-06-22 02:49:41 +00:00
parent 174f8a4a36
commit d9b5972014

View File

@@ -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