remove compiler hacks

This commit is contained in:
christos 2013-03-06 18:21:41 +00:00
parent 5828353b59
commit 71203128f9
1 changed files with 1 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2013/03/05 13:42:04 apb Exp $
# $NetBSD: Makefile,v 1.14 2013/03/06 18:21:41 christos Exp $
.include "Makefile.inc"
.include <bsd.own.mk>
@ -6,14 +6,6 @@
COPTS.zic.c += -Wno-format-nonliteral
COPTS.scheck.c += -Wno-format-nonliteral
.if defined(HAVE_GCC) && ${HAVE_GCC} < 45
# gcc-4.1 says:
# "warning: comparison is always false due to limited range of data type"
# and there is no -Wno-foo option to suppress that warning.
#
COPTS.zic.c+= ${${ACTIVE_CC} == "gcc" :? -Wno-error :}
.endif # HAVE_GCC < 45
PROG= zic
SRCS= zic.c scheck.c ialloc.c
MAN= zic.8