Sparc64 is -Wextra ready - but we are not sure where to go with __unused,
so add -Wno-unused-parameter for now. Ok'd by christos.
This commit is contained in:
parent
92846c53e2
commit
f2df2d2b3b
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.kern.inc,v 1.88 2006/10/12 01:30:49 christos Exp $
|
||||
# $NetBSD: Makefile.kern.inc,v 1.89 2006/10/17 14:28:46 martin Exp $
|
||||
#
|
||||
# This file contains common `MI' targets and definitions and it is included
|
||||
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
|
||||
@ -74,8 +74,8 @@ CWARNFLAGS+= -Wcast-qual -Wwrite-strings
|
||||
CWARNFLAGS+= -Wno-sign-compare
|
||||
. if ${HAVE_GCC} > 3
|
||||
CWARNFLAGS+= -Wno-pointer-sign -Wno-attributes
|
||||
. if ${MACHINE} == "i386"
|
||||
CWARNFLAGS+= -Wextra
|
||||
. if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "sparc64"
|
||||
CWARNFLAGS+= -Wextra -Wno-unused-parameter
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user