Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/zic remove compiler hacks



details:   https://anonhg.NetBSD.org/src/rev/88b67c8aca7c
branches:  trunk
changeset: 785281:88b67c8aca7c
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Mar 06 18:21:41 2013 +0000

description:
remove compiler hacks

diffstat:

 usr.sbin/zic/Makefile |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r e9c06e594b15 -r 88b67c8aca7c usr.sbin/zic/Makefile
--- a/usr.sbin/zic/Makefile     Wed Mar 06 18:21:18 2013 +0000
+++ b/usr.sbin/zic/Makefile     Wed Mar 06 18:21:41 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index