default CFLAGS

RW rwmaillists at googlemail.com
Sat Jan 24 05:16:43 PST 2009


On Sat, 24 Jan 2009 12:51:32 +0000
Saifi Khan <saifikhan at gmail.com> wrote:


> on running the command 'make -V CFLAGS', the output is
> 
> -O2 -fno-strict-aliasing -pipe
> 
> i haven't setup the CPUTYPE anywhere (not as an env variable nor in
> /etc/make.conf)
> So are these default settings for a generc x86 based system ?

Yes, if you are using i386. 

Most CPUs have the same default CFLAGS, it's the value of CPUTYPE
that's passed to the compiler that determines processor optimizations.


More information about the freebsd-questions mailing list