Is there a reason that NO_WERROR doesn't work with the kernel? Would
there be a reason not to include the following patch?
Warner
Index: kern.pre.mk
===================================================================
RCS file: /cache/ncvs/src/sys/conf/kern.pre.mk,v
retrieving revision 1.19
diff -u -r1.19 kern.pre.mk
--- kern.pre.mk 17 Sep 2002 09:07:06 -0000 1.19
+++ kern.pre.mk 26 Oct 2002 17:11:51 -0000
@@ -48,7 +48,11 @@
.endif
.endif
DEFINED_PROF= ${PROF}
+.if !defined(NO_WERROR)
WERROR?= -Werror
+.else
+WERROR?=
+.endif
# Put configuration-specific C flags last (except for ${PROF}) so that they
# can override the others.
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message