Add back NOGCCERROR for older gcc versions to fix the vax build
This commit is contained in:
parent
bb84cbce64
commit
f20c7e6ccc
@ -1,9 +1,17 @@
|
||||
# $NetBSD: Makefile,v 1.11 2013/03/02 21:38:19 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2013/03/05 10:19:58 martin Exp $
|
||||
|
||||
.include "Makefile.inc"
|
||||
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
|
||||
COPTS.zic.c += -Wno-format-nonliteral
|
||||
COPTS.scheck.c += -Wno-format-nonliteral
|
||||
.else
|
||||
# warning with older gcc:
|
||||
# "comparison is always false due to limited range of data type"
|
||||
# and no way to make it shut up?
|
||||
WARNS= 0
|
||||
NOGCCERROR= 1
|
||||
.endif
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user