Date: Sat, 26 Oct 2002 11:13:12 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: arch@freebsd.org Subject: NO_WERROR and the kernel Message-ID: <20021026.111312.21077495.imp@bsdimp.com>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026.111312.21077495.imp>
