NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-amd64/39266 (NetBSD/amd64 doesn't build with -Wextra)
The following reply was made to PR port-amd64/39266; it has been noted by GNATS.
From: Juan RP <xtraeme%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-amd64/39266 (NetBSD/amd64 doesn't build with -Wextra)
Date: Fri, 5 Sep 2008 13:30:06 +0200
Please apply this one as well (to enable -Wextra):
Index: Makefile.kern.inc
===================================================================
RCS file: /cvsroot/src/sys/conf/Makefile.kern.inc,v
retrieving revision 1.115
diff -b -u -p -r1.115 Makefile.kern.inc
--- Makefile.kern.inc 5 Sep 2008 11:03:53 -0000 1.115
+++ Makefile.kern.inc 5 Sep 2008 11:28:35 -0000
@@ -76,7 +76,8 @@ CWARNFLAGS+= -Wno-unreachable-code
CWARNFLAGS+= -Wno-sign-compare
. if (defined(HAVE_GCC) && ${HAVE_GCC} > 3) || defined(HAVE_PCC)
CWARNFLAGS+= -Wno-pointer-sign -Wno-attributes
-. if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "sparc64" || ${MACHINE} ==
"prep"
+. if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64" || \
+ ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "prep"
CWARNFLAGS+= -Wextra -Wno-unused-parameter
. endif
. endif
---- END ----
Home |
Main Index |
Thread Index |
Old Index