Commit 68349bc5 authored by Max Kellermann's avatar Max Kellermann

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.
parent 209364ad
...@@ -4,6 +4,7 @@ ver 0.21.24 (not yet released) ...@@ -4,6 +4,7 @@ ver 0.21.24 (not yet released)
* database * database
- simple: fix crash when mounting twice - simple: fix crash when mounting twice
* fix unit test failure * fix unit test failure
* fix build failure with Android NDK r21
ver 0.21.23 (2020/04/23) ver 0.21.23 (2020/04/23)
* protocol * protocol
......
...@@ -26,7 +26,7 @@ android_abis = { ...@@ -26,7 +26,7 @@ android_abis = {
'ndk_arch': 'arm', 'ndk_arch': 'arm',
'toolchain_arch': 'arm-linux-androideabi', 'toolchain_arch': 'arm-linux-androideabi',
'llvm_triple': 'armv7-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': { 'arm64-v8a': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment