apply some -Wno-foo to 3 files that are non-trivial to solve, for GCC 4.5.
This commit is contained in:
parent
5fb2e37596
commit
fc8b9ddc0c
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.kern.inc,v 1.140 2011/06/20 06:52:38 mrg Exp $
|
||||
# $NetBSD: Makefile.kern.inc,v 1.141 2011/07/04 13:00:19 mrg Exp $
|
||||
#
|
||||
# This file contains common `MI' targets and definitions and it is included
|
||||
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
|
||||
@ -516,6 +516,13 @@ COPTS.${__varstack:T} += -Wno-stack-protector
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
# XXX ugly ugly to fix
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 45
|
||||
CWARNFLAGS.tulip.c+= -Wno-array-bounds
|
||||
CWARNFLAGS.radeonfb.c+= -Wno-cast-qual
|
||||
CWARNFLAGS.dbcool.c+= -Wno-cast-qual
|
||||
.endif
|
||||
|
||||
AFLAGS+= ${AOPTS.${.IMPSRC:T}}
|
||||
CFLAGS+= ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}}
|
||||
CPPFLAGS+= ${CPPFLAGS.${.IMPSRC:T}}
|
||||
|
Loading…
Reference in New Issue
Block a user