diff options
Diffstat (limited to 'tools/depends/configure.ac')
-rw-r--r-- | tools/depends/configure.ac | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac index 298abd9d9c..6345adbfdb 100644 --- a/tools/depends/configure.ac +++ b/tools/depends/configure.ac @@ -143,6 +143,23 @@ case $host in #android builds are always cross cross_compiling="yes" ;; + aarch64*-*linux-android*) + if test "x$use_cpu" = "xauto"; then + use_cpu="arm64-v8a" + fi + use_sdk="${use_sdk:-android-21}" + deps_dir="$use_host-$use_sdk" + platform_cflags="-DANDROID -Os -fexceptions" + if test "x$use_cpu" = "xarm64-v8a"; then + platform_cflags+=" -march=armv8-a -mtune=cortex-a53" + fi + platform_ldflags="-L$prefix/$deps_dir/lib/$use_sdk" + platform_cxxflags="$platform_cflags -frtti" + platform_includes="-I$prefix/$deps_dir/include/$use_sdk" + platform_os="android" + #android builds are always cross + cross_compiling="yes" + ;; i*86*-linux-android*) if test "x$use_cpu" = "xauto"; then use_cpu=$host_cpu |