Make warnings non-fatal on sparc64.

Warings reported upstream.
This commit is contained in:
martin 2013-11-29 14:51:36 +00:00
parent c8016f96cd
commit 9e26225e44
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2013/11/29 08:03:41 mrg Exp $
# $NetBSD: Makefile,v 1.19 2013/11/29 14:51:36 martin Exp $
.include <bsd.init.mk>
@ -240,5 +240,8 @@ COPTS += -Wno-stack-protector
.if !empty(GMP_MACHINE_ARCH:M*arm*)
COPTS += -marm
.endif
.if ${GMP_MACHINE_ARCH} == "sparc64"
NOGCCERROR=yes
.endif
CWARNFLAGS.clang+= -Wno-unused-value -Wno-tautological-compare