need info builing ports properly

Warren Block wblock at wonkity.com
Wed Mar 28 15:30:43 UTC 2012


On Wed, 28 Mar 2012, icemac wrote:

> I only ever had this option set
>
> CFLAGS= -O2 -fno-strict-aliasing -pipe

Setting that in make.conf is counterproductive.  First, those are the 
defaults, so they don't improve anything.

Second, that overrides settings made elsewhere.  Consider a port like 
Gimp, which wants to use special CFLAGS for better performance.  But it 
can't, because make.conf forces those CFLAGS.


More information about the freebsd-questions mailing list