[114154] trunk/dports/math/gsl/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Nov 30 18:51:41 PST 2013
On Nov 30, 2013, at 08:50, nicos at macports.org wrote:
> Revision
> 114154
> Author
> nicos at macports.org
> Date
> 2013-11-30 06:50:33 -0800 (Sat, 30 Nov 2013)
> Log Message
>
> gsl: enable avx optimization for proper compilers (ticket #41554)
> Modified Paths
>
> • trunk/dports/math/gsl/Portfile
> variant optimize description "Provide further optimization options (depending on compiler used)" {
>
> - configure.cflags-append "-ftree-vectorize -O3"
>
> + configure.cflags-append "-O3"
>
> }
Optimization flags really belong in configure.optflags. MacPorts will add configure.optflags to configure.cflags and configure.cxxflags for you. The default configure.optflags is currently -Os so if you need something different you can change it. You don’t need quotes around option values.
More information about the macports-dev
mailing list