android/build.py: support x86_64 builds

This commit is contained in:
Max Kellermann 2020-01-12 13:02:07 +01:00
parent b4700039fd
commit aa0e121ade
1 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,14 @@ android_abis = {
'llvm_triple': 'i686-linux-android',
'cflags': '-march=i686 -mtune=intel -mssse3 -mfpmath=sse -m32',
},
'x86_64': {
'arch': 'x86_64-linux-android',
'ndk_arch': 'x86_64',
'toolchain_arch': 'x86_64',
'llvm_triple': 'x86_64-linux-android',
'cflags': '-m64',
},
}
# select the NDK target