buildkernel suddenly not respecting -DNO_WERROR

Conrad Sabatier conrads at cox.net
Mon Jan 30 17:39:51 PST 2006


On 31-Jan-2006 Conrad Sabatier wrote:
> I've been unable to build a new kernel for the last several days
> (RELENG_6).
> I keep getting warnings re: failed attempts to inline functions, which
> are being treated as fatal errors due to the -Werror flag.
> 
> Is anyone else seeing this?  When exactly did buildkernel break, and why?

OK, I did a little digging and found that in src/sys/conf/kern.pre.mk, the
variable name is WERROR, not NO_WERROR (like in share/mk/bsd.sys.mk).

Problem solved.  :-)

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-stable mailing list