diff --git a/build/make/configure.sh b/build/make/configure.sh
index 83f480a4259b65f5a9dd40f9a2e870a715913757..b43a4ec1877d03c417a5ce0bd59755d74d07f38a 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1091,6 +1091,15 @@ EOF
                 # 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