Ticket #38271: gsl.disableAVX.diff
File gsl.disableAVX.diff, 811 bytes (added by daitakahashi, 12 years ago) |
---|
-
math/gsl/Portfile
old new 87 87 } 88 88 89 89 platform darwin i386 { 90 if { [variant_isset optimize] && ( [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47] ) } { 91 configure.cflags-append "-march=native" 90 if { [variant_isset optimize] } { 91 if { [variant_isset gcc43] } { 92 configure.cflags-append "-march=native" 93 } elseif { ( [variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || [variant_isset gcc47] ) } { 94 configure.cflags-append "-march=native -mno-avx" 95 } 92 96 } 93 97 }