On 09/03/07, RW <[EMAIL PROTECTED]> wrote:
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:
[...]
> > 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.

Thanks for pointing this out. I did read
/usr/share/examples/etc/make.conf to get some sensible settings, which
is why I've chosen it to set CFLAGS like I did.
Since -fno-strict-aliasing is that important, it should probably be
mentioned in /usr/share/examples/etc/make.conf

Just my 2 cents
Christian
_______________________________________________
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