Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 13:01:47 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Tuning make.conf
Message-ID:  <20080313130147.70fae093@gumby.homeunix.com.>
In-Reply-To: <7AB40EFE5B504CD0B1EBF6E0223EB69B@L02D81003>
References:  <Pine.LNX.4.58.0803130937530.5944@lxplus098.cern.ch> <47D9004D.5070407@planet.nl> <9A6A62B6B84859469F3EBB5F09D818CA219E98@cernxchg50.cern.ch> <7AB40EFE5B504CD0B1EBF6E0223EB69B@L02D81003>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080313130147.70fae093>