6.0 and -O2 option

Jim C. Nasby decibel at decibel.org
Wed Aug 31 05:01:41 GMT 2005


On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote:
> > > Kernel and world seem to be ok with -O2, for ports it is not advised.
> > 
> > Hi,
> > I may have missed a thread or something (just let me know :) ) - why is
> > -O2 not advised for ports on 6.0?
> > cheers,
> > Beto
> 
> Simply because not every port works with -O2 optimisations. It caused
> bad code in some circumstances.

Is there an automated way to identify those ports so they can be forced
not to use -O higer than -O1?
-- 
Jim C. Nasby, Database Architect                decibel at decibel.org 
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


More information about the freebsd-stable mailing list