DEFAULT CFLAGS SETTING
fbsd06 at mlists.homeunix.com
Fri Mar 9 14:47:34 UTC 2007
On Thu, 08 Mar 2007 21:04:50 -0800
Garrett Cooper <youshi10 at u.washington.edu> wrote:
> Christian Walther wrote:
> > On 08/03/07, White Hat <pigskin_referee at yahoo.com> wrote:
> >> What is the default CFLAGS setting in FBSD-6.2 and would it
> >> improve performance any to set
> >> CFLAGS=Os
> >> as opposed to the default setting?
> > CFLAGS can be defined in /etc/make.conf
> > My CFLAGS is set to -O2 -pipe.
Note that by explicitly defining CFLAGS, you override the
-fno-strict-aliasing that's set by default.
FreeBSD provides sensible defaults for all of these things, based on
> As mentioned when I asked the question a while back, be careful about
> how you "optimize" freebsd.
> I was told to add -fno-strict-aliasing,
More information about the freebsd-questions