summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-04-20 12:17:05 -0700
committerJames Zern <jzern@google.com>2023-04-20 12:20:23 -0700
commitf7d5c3eff865299e0915f9683fd28e325dcb75a9 (patch)
tree28941dbf26ceb0fe0ec2a22b06bbc6f758e1de35 /build
parent5248bf6be5755ea32a8a9209a9a958b1f88c9074 (diff)
downloadlibvpx-f7d5c3eff865299e0915f9683fd28e325dcb75a9.tar
libvpx-f7d5c3eff865299e0915f9683fd28e325dcb75a9.tar.gz
libvpx-f7d5c3eff865299e0915f9683fd28e325dcb75a9.tar.bz2
libvpx-f7d5c3eff865299e0915f9683fd28e325dcb75a9.zip
configure: skip arm64_neon.h workaround w/VS >= 2019
Visual Studio 2019+ include arm64_neon.h from arm_neon.h Bug: b/277255076 Change-Id: I52f42b69a5efe8214a4c541b68e940ad07499584
Diffstat (limited to 'build')
-rw-r--r--build/make/configure.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 4bf090f00..32105651f 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1066,8 +1066,11 @@ EOF
enable_feature win_arm64_neon_h_workaround
else
# If a probe is not possible, assume this is the pure Windows
- # SDK and so the workaround is necessary.
- enable_feature win_arm64_neon_h_workaround
+ # SDK and so the workaround is necessary when using Visual
+ # Studio < 2019.
+ if [ ${tgt_cc##vs} -lt 16 ]; then
+ enable_feature win_arm64_neon_h_workaround
+ fi
fi
fi
fi