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

1
NEWS
View File

@ -4,6 +4,7 @@ ver 0.21.24 (not yet released)
* database
- simple: fix crash when mounting twice
* fix unit test failure
* fix build failure with Android NDK r21
ver 0.21.23 (2020/04/23)
* protocol

View File

@ -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': {