Module Name:    src
Committed By:   christos
Date:           Wed Mar  6 18:21:41 UTC 2013

Modified Files:
        src/usr.sbin/zic: Makefile

Log Message:
remove compiler hacks


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/zic/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/zic/Makefile
diff -u src/usr.sbin/zic/Makefile:1.13 src/usr.sbin/zic/Makefile:1.14
--- src/usr.sbin/zic/Makefile:1.13	Tue Mar  5 08:42:04 2013
+++ src/usr.sbin/zic/Makefile	Wed Mar  6 13:21:41 2013
@@ -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

Reply via email to