Subject: Re: libcurses and CFLAGS
To: None <current-users@NetBSD.org>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 11/19/2007 18:48:15
On Mon, 19 Nov 2007 17:44:43 +0000
Matthias Scheler <tron@zhadum.org.uk> wrote:

> On Mon, Nov 19, 2007 at 03:00:13PM +0100, Zafer Aydogan wrote:
> > > Yes, please do *never* set "CFLAGS". Please set "CPU_FLAGS" to
> > > "-march=i686" instead.
> > >
> > 
> > Can I set
> > 
> > CPU_FLAGS=-march=i686 -mtune=pentium3 -mfpmath=sse -msse
> 
> Yes, that will work.
> 
> Or you could install the "cpuflags" package and use this:
> 
> .sinclude "/usr/pkg/share/mk/cpuflags.mk"
> 
> 	Kind regards

Always append 'FOO+=' rather than setting 'FOO='... and it's CPUFLAGS not
CPU_FLAGS.

-- 
Juan Romero Pardines	- The NetBSD Project
http://plog.xtrarom.org	- NetBSD/pkgsrc news in Spanish