Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2005 20:57:27 +0100
From:      Chris <chrcoluk@gmail.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        dick hoogendijk <dick@nagual.st>, freebsd-stable@freebsd.org
Subject:   Re: make.conf for 6.0
Message-ID:  <3aaaa3a0510241257l5678e810k@mail.gmail.com>
In-Reply-To: <435A5E70.1010304@mac.com>
References:  <20051022160723.5ba02ccd.dick@nagual.st> <435A5E70.1010304@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22/10/05, Chuck Swiger <cswiger@mac.com> wrote:
> dick hoogendijk wrote:
> > My make.conf contains (fbsd-5.4)
> > CFLAGS=3D -O -pipe
> > COPTFLAGS=3D -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 mu=
ch
> 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=
"?

Chris



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