Platform specific flags and universal variants
Adam Mercer
ram at macports.org
Mon Feb 23 18:06:37 PST 2009
On Mon, Feb 23, 2009 at 19:33, Ryan Schmidt <ryandesign at macports.org> wrote:
> You could do (untested):
>
>
> platform i386 {
> if {![variant_isset universal]} {
> configure.args-append --enable-sse2
> }
> }
>
> platform powerpc {
> if {![variant_isset universal]} {
> configure.args-append --enable-fma
> }
> }
Thanks Ryan, that does the trick.
Cheers
Adam
More information about the macports-users
mailing list