diff options
author | Max Kellermann <max@musicpd.org> | 2020-05-07 13:48:42 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-05-07 13:50:33 +0200 |
commit | 68349bc55c736c75685154c1cb6d95f3bc6baf18 (patch) | |
tree | 2fd00147b253c6b6531fbd06d99c44b676c55264 /android | |
parent | 209364adf2c143d2979f95f748b9aef642bde0d9 (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-x | android/build.py | 2 |
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': { |