Date: Tue, 25 Oct 2005 13:16:01 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Chris <chrcoluk@gmail.com> Cc: dick hoogendijk <dick@nagual.st>, freebsd-stable@freebsd.org Subject: Re: make.conf for 6.0 Message-ID: <20051025171601.GA33303@xor.obsecurity.org> In-Reply-To: <3aaaa3a0510241257l5678e810k@mail.gmail.com> References: <20051022160723.5ba02ccd.dick@nagual.st> <435A5E70.1010304@mac.com> <3aaaa3a0510241257l5678e810k@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 24, 2005 at 08:57:27PM +0100, Chris wrote: > On 22/10/05, Chuck Swiger <cswiger@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 --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDXmhRWry0BWjoQKURAmOyAKCy+Pk339430JNwdoDGcZqgFnRL8wCfbzDA 4edKngZQYpP9992Q8lH/8t4= =ek3j -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051025171601.GA33303>