Subject: Re: libcurses and CFLAGS
To: Matthias Scheler <tron@zhadum.org.uk>
From: Zafer Aydogan <zafer@aydogan.de>
List: current-users
Date: 11/19/2007 15:00:13
2007/11/19, Matthias Scheler <tron@zhadum.org.uk>:
> On Mon, Nov 19, 2007 at 11:03:26AM +0100, Zafer Aydogan wrote:
> > since a while I'm having problems building a release, if I'm using
> > CFLAGS=-march=i686 in mk.conf.
>
> Please grab a piece of paper and write down one hundred times:
> I must *not* set "CFLAGS" in "/etc/mk.conf" or in my environment.
>
> > Any ideas ?
>
> 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

or do I have to split it ?

what goes into CFLAGS ?

and where can I read all about this (docs) ?



>         Kind regards
>
> --
> Matthias Scheler                                  http://zhadum.org.uk/
>