Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2005 09:46:49 +0200
From:      Claus Guttesen <kometen@gmail.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: /etc/make.conf flags for Intel
Message-ID:  <b41c75520510100046t17d1bd10m@mail.gmail.com>
In-Reply-To: <20051010072456.GA52280@xor.obsecurity.org>
References:  <BF6ED99E.2166%webmaster@machowto.com> <b41c75520510091438p11ac250am@mail.gmail.com> <20051010072456.GA52280@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > Hey, how should I tune my /etc/make.conf file for my Intel Xeon (EM64=
) Box?
> > > Running 6.0 B5
> >
> > march=3Dnocona
> 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=3Dnocona
CFLAGS=3D -O2 -pipe
COPTFLAGS=3D -O2 -pipe

If you have a custom build kernel you may want to add

KERNCONF=3Dwhat-ever-you-name-your-kernel

regards
Claus



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