Subject: Re: mk.conf & compiler flags
To: Dunric <>
From: Chuck Swiger <>
List: netbsd-users
Date: 02/02/2005 23:59:49
Dunric wrote:
> I just wish to rebuild whole system including packages with
> "-O2 -pipe -march=pentium3" in proper way.

Be careful.  gcc-3.x using -O2 enables a form of optimization which can break 
a fair amount of source code.  Consider using:

	-O2 -fno-strict-aliasing

...unless you understand and are willing to fix the type-punning warnings.