summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-05-07 13:48:42 +0200
committerMax Kellermann <max@musicpd.org>2020-05-07 13:50:33 +0200
commit68349bc55c736c75685154c1cb6d95f3bc6baf18 (patch)
tree2fd00147b253c6b6531fbd06d99c44b676c55264 /android
parent209364adf2c143d2979f95f748b9aef642bde0d9 (diff)
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.
Diffstat (limited to 'android')
-rwxr-xr-xandroid/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/build.py b/android/build.py
index 63e57f93e..7fb90173f 100755
--- a/android/build.py
+++ b/android/build.py
@@ -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': {