Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2007 14:20:39 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: DEFAULT CFLAGS SETTING
Message-ID:  <20070309142039.51a3470b@gumby.homeunix.com>
In-Reply-To: <20070309075120.9879.GERARD-SEIBERT@seibercom.net>
References:  <989294.46444.qm@web34411.mail.mud.yahoo.com> <14989d6e0703081645q9b555b5i26cca0557590e9cd@mail.gmail.com> <20070309075120.9879.GERARD-SEIBERT@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 09 Mar 2007 07:53:00 -0500
Gerard <gerard@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



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