Subject: Re: question about -current (exactly 1.6 or newer)
To: Wojciech Puchar <wojtek@tensor.3miasto.net>
From: mackstann <mack@incise.org>
List: netbsd-users
Date: 03/21/2003 09:31:24
On Fri, Mar 21, 2003 at 03:13:14PM +0100, Wojciech Puchar wrote:
> how to force default optimization to -march=pentium to everything and
> build pentium by default optimizing compiler?
> 
> in 1.5.* i had to add
> 
> CPPFLAGS+=     -DTARGET_CPU_DEFAULT=2
> 
> to gnu/usr.bin/egcs/Makefile.inc

Check out the cpuflags package, it generates a little file in
pkg/share/cpuflags/ and you include it in /etc/mk.conf.

-- 
transmission complete | mackatincise.org | fortune@09:00 CST:
Quigley's Law:
 Whoever has any authority over you, no matter how small, will
 atttempt to use it.
(c) 2003 /usr/games/fortune