Using "march=native" in "/etc/make.conf"

RW rwmaillists at
Tue Feb 23 12:21:35 UTC 2010

On Tue, 23 Feb 2010 06:41:04 -0500
Carmel <carmel_ny at> wrote:

> I just acquired an older Gateway GT5220 with an AMD 62 Athlon-x2
> dual processor. I want to set it up as a sort of test machine. There
> does not seem to be a specific setting for 'cpu-type' or 'march' for
> this machine. I have notices on some Linux forums that they recommend
> using the 'native' keyword; i.e., "march=native" in the 'make.conf'
> file to get the most optimization out of the CPU. Would that be
> correct for FreeBSD also? Would it also be appropriate for other CPUs
> as well?

FreeBSD sets "march" and other default settings based on CPUTYPE. It's
probably better to set that.

More information about the freebsd-questions mailing list