/etc/make.conf flags for Intel
Claus Guttesen
kometen at gmail.com
Mon Oct 10 00:46:52 PDT 2005
> > > 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.
Copy /usr/share/examples/etc/make.conf to /etc if make.conf is
missing/empty and make the changes below.
CPUTYPE=nocona
CFLAGS= -O2 -pipe
COPTFLAGS= -O2 -pipe
If you have a custom build kernel you may want to add
KERNCONF=what-ever-you-name-your-kernel
regards
Claus
More information about the freebsd-amd64
mailing list