Tuning make.conf

RW fbsd06 at mlists.homeunix.com
Thu Mar 13 13:21:57 UTC 2008

On Thu, 13 Mar 2008 14:05:27 +0200
"Reko Turja" <reko.turja at liukuma.net> wrote:

> > MAKEOPTS==-j3
> > CPUTYPE=core2
> > CFLAGS+= --O2 -pipe -fno-strict-aliasing
> Setting CFLAGS can cause errors while compiling and other undesirable 
> effects, so I recommend leaving CFLAGS undefined.
> If you want to optimise things use COPTFLAGS instead.

Don't set either of them, they both get set automatically, and messing
with COPTFLAGS is potentially more dangerous than with messing CFLAGS.
Just set CPUTYPE unless you know what you are doing.

More information about the freebsd-questions mailing list