In r119199, I used
configure.optflags-delete -Os

Thanks for the improvement.

I did not set -O3 because FreeImage sets its own optimization levels in the 
Makefile.

-Marcus

On Apr 19, 2014, at 8:47 PM, Ryan Schmidt <ryandes...@macports.org> wrote:

> 
> On Apr 19, 2014, at 08:57, mcalh...@macports.org wrote:
> 
>> Revision
>> 119187
>> Author
>> mcalh...@macports.org
>> Date
>> 2014-04-19 06:57:03 -0700 (Sat, 19 Apr 2014)
>> Log Message
>> 
>> *) FreeImage uses two different Makefiles
>> Use portbuild::build_main and portdestroot::destroot_main for both of them.
>> This allows the use of environmental variables like MACOSX_DEPLOYMENT_TARGET.
>> *) Implement options from configure in the build phase.
> 
>> --- trunk/dports/graphics/freeimage/Portfile 2014-04-19 11:52:52 UTC (rev 
>> 119186)
>> +++ trunk/dports/graphics/freeimage/Portfile 2014-04-19 13:57:03 UTC (rev 
>> 119187)
>> @@ -63,41 +60,75 @@
>> 
>> use_configure       no
>> 
>> +# In the future, implement in the build phase?
>> +#configure.pipe      no
>> +#configure.ccache    no
>> +#configure.distcc    no
>> +
>> +# FreeImage uses -O3
>> +configure.cflags-delete   -Os
>> +configure.cxxflags-delete -Os
> 
> Setting “configure.optflags -O3” would be better then.
> 

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to