Re: Tuning make.conf

[ Available lists | Index of freebsd-questions | Month of Mar 2008 | Week of 13 Mar 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
RW <fbsd06@mlists.homeunix.com>
Date
13 Mar 2008 13:21:57
Subject
Re: Tuning make.conf
Message-ID
20080313130147.70fae093@gumby.homeunix.com.

In reply to
Replies
Referenced by

[ Hide this part ]
On Thu, 13 Mar 2008 14:05:27 +0200
"Reko Turja" <reko.turja@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.


Elapsed time: 0.158 seconds