Ticket #29313: ppl-disable-avx.diff

File ppl-disable-avx.diff, 520 bytes (added by daitakahashi, 14 years ago)

this patch works at Snow leopard, x86_64 (Macbook Pro early 2011)

  • Portfile

    old new  
    5858    configure.cflags-append     "-ftree-vectorize -O3 -march=native"
    5959}
    6060
     61platform i386 {
     62    if { [variant_isset gcc44] || [variant_isset gcc45] } {
     63        configure.cflags-append    -mno-avx
     64        configure.cxxflags-append  -mno-avx
     65    }
     66}
     67
    6168test.run          yes
    6269test.target       check
    6370