DEFAULT CFLAGS SETTING

RW fbsd06 at mlists.homeunix.com
Fri Mar 9 14:20:45 UTC 2007


On Fri, 09 Mar 2007 07:53:00 -0500
Gerard <gerard at seibercom.net> wrote:

> On Thursday March 08, 2007 at 07:45:06 (PM) Christian Walther wrote:
> 
> 
> > CFLAGS can be defined in /etc/make.conf
> > My CFLAGS is set to -O2 -pipe. You might want to take a look at
> > CPUTYPE, too. This can be set to match your CPU type, which means
> > you'll get the most of it.
> > You can find some examples in /usr/share/examples/etc/make.conf
> 
> Thanks, but that is not exactly what I was looking for. I was
> attempting to find out what the default setting is in FreeBSD-6.2. I
> heard it was '02' but I have not been able to confirm that.
> 

In my case:

$ make -V CFLAGS
-O2 -fno-strict-aliasing -pipe -march=athlon-mp

but run it on your own machine as it depends on what you set as
CPUTYPE in make.conf


More information about the freebsd-questions mailing list