[119187] trunk/dports/graphics/freeimage/Portfile

Marcus Calhoun-Lopez mcalhoun at macports.org
Sat Apr 19 21:05:35 PDT 2014


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 <ryandesign at macports.org> wrote:

> 
> On Apr 19, 2014, at 08:57, mcalhoun at macports.org wrote:
> 
>> Revision
>> 119187
>> Author
>> mcalhoun at 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.
> 



More information about the macports-dev mailing list