Subject: Re: current "src" building problems
To: None <current-users@netbsd.org>
From: Paul M. Newhouse <newhouse@pimin.rockhead.com>
List: current-users
Date: 09/05/1998 13:49:53
Urban writes:

> Paul M Newhouse writes:
>
>Paul> I edit ...<build area>/src/share/mk/bsd.sys.mk (and
>Paul> /usr/share/mk/bsd.sys.mk if I'm not going to do a make build),
>Paul> and commnet out the -Werror part of the line:
>
>An even easier way is to do:
>
>	make CWARNFLAGS=-Wno-error
>
>I think that is a fairly new variable.

DUH!! That was to obvious, HUH?  I noticed that the line was

  CFLAGS+= -Werror ${CWARNFLAGS}

I assume that the flags are additive?  That is:

  CFLAGS+= -Werror -Wno-error

is equivalent to:

  CFLAGS = -Wno-error

I'd guess I can put that in /etc/mk.conf as well?

Paul