summaryrefslogtreecommitdiff
path: root/build/make
diff options
context:
space:
mode:
authorJohann <johann.koenig@duck.com>2018-12-04 15:52:08 -0800
committerJohann <johann.koenig@duck.com>2018-12-05 10:18:06 -0800
commit539dc7649f67ec10097b3c8eb2c0073f0d0571ce (patch)
treeba78cbfe8d9484d65e781ed988a5201186d91b3b /build/make
parent5039d2d82b3beab14ca7c354e1a8fefe67bb671a (diff)
downloadlibvpx-539dc7649f67ec10097b3c8eb2c0073f0d0571ce.tar
libvpx-539dc7649f67ec10097b3c8eb2c0073f0d0571ce.tar.gz
libvpx-539dc7649f67ec10097b3c8eb2c0073f0d0571ce.tar.bz2
libvpx-539dc7649f67ec10097b3c8eb2c0073f0d0571ce.zip
remove old visual studio support
Change-Id: I86682ef1aac1991e1ef6965e7aa298f6619bee13
Diffstat (limited to 'build/make')
-rw-r--r--build/make/configure.sh22
1 files changed, 3 insertions, 19 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 262204053..00214c9d2 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1037,8 +1037,7 @@ EOF
msvs_arch_dir=arm-msvs
disable_feature multithread
disable_feature unit_tests
- vs_version=${tgt_cc##vs}
- if [ $vs_version -ge 12 ]; then
+ if [ ${tgt_cc##vs} -ge 12 ]; then
# MSVC 2013 doesn't allow doing plain .exe projects for ARM32,
# only "AppContainerApplication" which requires an AppxManifest.
# Therefore disable the examples, just build the library.
@@ -1353,28 +1352,13 @@ 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|10|11|12|13|14)
+ case ${tgt_cc##vs} in
+ 14)
echo "${tgt_cc} does not support avx512, disabling....."
RTCD_OPTIONS="${RTCD_OPTIONS}--disable-avx512 "
soft_disable avx512
;;
esac
- case $vc_version in
- 7|8|9|10)
- echo "${tgt_cc} does not support avx/avx2, disabling....."
- RTCD_OPTIONS="${RTCD_OPTIONS}--disable-avx --disable-avx2 "
- soft_disable avx
- soft_disable avx2
- ;;
- esac
- case $vc_version in
- 7|8|9)
- echo "${tgt_cc} omits stdint.h, disabling webm-io..."
- soft_disable webm_io
- ;;
- esac
;;
esac