atom feed6 messages in org.freebsd.freebsd-archNO_WERROR and the kernel
FromSent OnAttachments
M. Warner LoshOct 26, 2002 10:12 am 
Nate LawsonOct 26, 2002 3:04 pm 
Bill FennerOct 26, 2002 3:14 pm 
"Vladimir B. " GrebenschikovNov 11, 2002 1:15 am 
Bill FennerNov 11, 2002 8:12 am 
Maxime HenrionNov 11, 2002 8:18 am 
Subject:NO_WERROR and the kernel
From:M. Warner Losh (im@bsdimp.com)
Date:Oct 26, 2002 10:12:50 am
List:org.freebsd.freebsd-arch

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