android/build.py: use -mfpu=vfpv3-d16 on ARMv7

This flag is used by the Android NDK build scripts as well, and this
fixes a build failure (assembler error) with FFmpeg and NDK r21.
This commit is contained in:
Max Kellermann
2020-05-07 13:48:42 +02:00
parent 209364adf2
commit 68349bc55c
2 changed files with 2 additions and 1 deletions

@ -26,7 +26,7 @@ android_abis = {
'ndk_arch': 'arm',
'toolchain_arch': 'arm-linux-androideabi',
'llvm_triple': 'armv7-linux-androideabi',
'cflags': '-march=armv7-a -mfpu=vfp -mfloat-abi=softfp',
'cflags': '-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp',
},
'arm64-v8a': {