/etc/make.conf flags for Intel
kris at obsecurity.org
Mon Oct 10 10:44:01 PDT 2005
On Mon, Oct 10, 2005 at 09:46:49AM +0200, Claus Guttesen wrote:
> > > > Hey, how should I tune my /etc/make.conf file for my Intel Xeon (EM64) Box?
> > > > Running 6.0 B5
> > >
> > > march=nocona
> > You misspelled 'CPUTYPE'
> My bad.
> > > Change CFLAGS line from -O to -O2.
> > It *is* the default.
> /usr/share/examples/etc/make.conf is set to -O.
The setting in <sys.mk> trumps this documentation file, but you're
right, this should be updated there. Could you please send a PR?
> Copy /usr/share/examples/etc/make.conf to /etc if make.conf is
> missing/empty and make the changes below.
> CFLAGS= -O2 -pipe
> COPTFLAGS= -O2 -pipe
COPTFLAGS=-O2 is a bad idea if your kernel panics and you need
assistance, because it often munges the debugging backtraces to the
point of uselessness.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20051010/7b0d3f84/attachment.bin
More information about the freebsd-amd64