On Thu, 08 Mar 2007 21:04:50 -0800
Garrett Cooper <[EMAIL PROTECTED]> wrote:

> Christian Walther wrote:
> > On 08/03/07, White Hat <[EMAIL PROTECTED]> 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
CPUTYPE. 

 
> 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, 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to