shithub: libvpx

Download patch

ref: 4bdb1d2e6c1f66ede35a30865537e9b69f4dd907
parent: 741c14fcf0fec6954e8686fda537bcacd0bc13ac
parent: 9b744922dd2b91700bbfe87e3661294ae3cc0d5c
author: Yaowu Xu <yaowu@google.com>
date: Thu Nov 7 04:29:31 EST 2013

Merge "disable avx/avx2 for old versions of MSVC"

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1091,6 +1091,15 @@
                 # Skip the check by setting AS arbitrarily
                 AS=msvs
                 msvs_arch_dir=x86-msvs
+                vc_version=${tgt_cc##vs}
+                case $vc_version in
+                    7|8|9)
+                         echo "${tgt_cc} does not support avx/avx2, disabling....."
+                         RTCD_OPTIONS="${RTCD_OPTIONS}--disable-avx --disable-avx2 "
+                         soft_disable avx
+                         soft_disable avx2
+                    ;;
+                esac
             ;;
         esac