Subject: Re: Build customized NetBSD 2.0
To: None <netbsd-help@netbsd.org>
From: Daniel Bolgheroni <dbolgheroni@unifei.edu.br>
List: netbsd-help
Date: 08/20/2004 14:59:16
On Wed, 11 Aug 2004 08:22:17 +0000 (UTC)
"Valeriy E. Ushakov" <uwe@ptc.spbu.ru> wrote:

> Dmitry Ivanov <dimss@solutions.lv> wrote:
> 
> > On Tue, Aug 10, 2004 at 08:37:16AM +0200, Jukka Salmi wrote:
> >> Set COPTS+=-Os (see mk.conf(5)).
> > 
> > I set COPTS+=-Os -pipe. Now build.sh fails with:
> [...]
> > It compiles fine wihtout COPTS.
> 
> Don't use COPTS for -Os and the like, use DBG.
> Use CPUFLAGS for -march/-mcpu &co.

I didn't find references for DBG in man pages of mk.conf.