Module Name: src
Committed By: christos
Date: Thu Aug 18 02:19:20 UTC 2011
Modified Files:
src/sys/conf: Makefile.kern.inc
Log Message:
Remove gcc-4.5 hacks
To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/sys/conf/Makefile.kern.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.145 src/sys/conf/Makefile.kern.inc:1.146
--- src/sys/conf/Makefile.kern.inc:1.145 Thu Aug 11 18:37:57 2011
+++ src/sys/conf/Makefile.kern.inc Wed Aug 17 22:19:20 2011
@@ -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}}