default CFLAGS

RW rwmaillists at googlemail.com
Sat Jan 24 13:50:08 PST 2009


On Sat, 24 Jan 2009 21:13:00 +0100
Morgan Wesström <freebsd-questions at pp.dyndns.biz> wrote:

> gcc 4.2 and later will figure out the correct -march and -mtune for
> you automatically if you use CPUTYPE=native. 

The point I was making before, is that CPUTYPE isn't just passed
transparently to gcc, it's used for setting other variables, such as
CFLAGS. So unless you know that CPUTYPE=native is supported by the OS as
well as the compiler, you probably shouldn't use it in make.conf.


More information about the freebsd-questions mailing list