Tuning make.conf

Reko Turja reko.turja at liukuma.net
Thu Mar 13 12:05:31 UTC 2008


> Should my make.conf be  like:
> MAKEOPTS==-j3
> CPUTYPE=core2
> CFLAGS= --O2 -pipe -fno-strict-aliasing
>
> or just:
> MAKEOPTS==-j3
> CPUTYPE=core2
>
> or maybe:
>
> 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.

-Reko 



More information about the freebsd-questions mailing list