Subject: Re: Build customized NetBSD 2.0
To: None <netbsd-help@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: netbsd-help
Date: 08/11/2004 08:22:17
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.

Also, make sure you have 1.21 of usr.sbin/racoon/racoon/Makefile.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen