compiling world with optimization

David O'Brien obrien at freebsd.org
Sun Jan 18 14:19:07 PST 2004


On Thu, Jan 15, 2004 at 01:40:36PM +0100, Christer Solskogen wrote:
> I dont know if you care, but buildworld will fail with some optimizations.

We do, but...
 
> CFLAGS= -O2 -pipe

You shouldn't be using -O2 unless you're prepared to provide a patch, or
sufficient analysis that someone else can easily fix the problem.  Otherwise
stick with -O[1] to have a non-eventful FreeBSD make world.


More information about the freebsd-current mailing list