make.conf for 6.0

Kris Kennaway kris at obsecurity.org
Tue Oct 25 10:16:03 PDT 2005


On Mon, Oct 24, 2005 at 08:57:27PM +0100, Chris wrote:
> On 22/10/05, Chuck Swiger <cswiger at mac.com> wrote:
> > dick hoogendijk wrote:
> > > My make.conf contains (fbsd-5.4)
> > > CFLAGS= -O -pipe
> > > COPTFLAGS= -O -pipe
> > >
> > > Are these settings the same for the upcoming release6 or do I need to
> > > set -O2 in this new version?
> >
> > FreeBSD is moving towards "-O2 -fno-strict-aliasing" by default [1], but there
> > is nothing wrong with using "-O" only.  On most platforms, there isn't much
> > difference between -O and -O2, although -O2 does help more with the x86
> > architecture.
> >
> > --
> > -Chuck
> >
> Hmm so using "-O2" is bad in 5.4 and it should be "-O2 -fno-strict-aliasing"?

If you use any third-party software, yes.  i.e. FreeBSD itself is
fine, but not ports.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20051025/3e45a089/attachment.bin


More information about the freebsd-stable mailing list