Remove -Wno-attribute for gcc4

This commit is contained in:
christos 2006-05-20 00:48:41 +00:00
parent a58b86d582
commit 0d1e2d0056
1 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.sys.mk,v 1.129 2006/05/11 23:47:34 mrg Exp $ # $NetBSD: bsd.sys.mk,v 1.130 2006/05/20 00:48:41 christos Exp $
# #
# Build definitions used for NetBSD source tree builds. # Build definitions used for NetBSD source tree builds.
@ -19,9 +19,6 @@ CFLAGS+= -Wno-sign-compare -Wno-traditional
.if !defined(HAVE_GCC) || (${HAVE_GCC} == 2) .if !defined(HAVE_GCC) || (${HAVE_GCC} == 2)
CFLAGS+= -Wno-uninitialized CFLAGS+= -Wno-uninitialized
.endif .endif
.if ${HAVE_GCC} > 3
CFLAGS+= -Wno-attributes #-Wno-packed
.endif
.endif .endif
.if ${WARNS} > 1 .if ${WARNS} > 1
CFLAGS+= -Wreturn-type -Wswitch -Wshadow CFLAGS+= -Wreturn-type -Wswitch -Wshadow