Source-Changes-HG archive

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

[src/trunk]: src/sys/conf Remove gcc-4.5 hacks



details:   https://anonhg.NetBSD.org/src/rev/8afb78faf640
branches:  trunk
changeset: 768514:8afb78faf640
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Aug 18 02:19:20 2011 +0000

description:
Remove gcc-4.5 hacks

diffstat:

 sys/conf/Makefile.kern.inc |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r b87681b348bc -r 8afb78faf640 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Thu Aug 18 02:18:40 2011 +0000
+++ b/sys/conf/Makefile.kern.inc        Thu Aug 18 02:19:20 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.145 2011/08/11 22:37:57 jmcneill Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.146 2011/08/18 02:19:20 christos Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -516,15 +516,6 @@
 .endfor
 .endif
 
-# XXX ugly ugly to fix
-.if defined(HAVE_GCC) && ${HAVE_GCC} == 45
-CWARNFLAGS.tulip.c+=   ${${ACTIVE_CC} == "gcc":?-Wno-array-bounds:}
-CWARNFLAGS.radeonfb.c+=        -Wno-cast-qual
-CWARNFLAGS.dbcool.c+=  -Wno-cast-qual
-CWARNFLAGS.adb_kbd.c+= -Wno-cast-qual
-CWARNFLAGS.adb_ms.c+=  -Wno-cast-qual
-.endif
-
 AFLAGS+=       ${AOPTS.${.IMPSRC:T}}
 CFLAGS+=       ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}}
 CPPFLAGS+=     ${CPPFLAGS.${.IMPSRC:T}}



Home | Main Index | Thread Index | Old Index