From 13337e0f2e1342ed61ae0d33fcde8b51af40271e Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sun, 29 Sep 2019 18:53:59 +0100 Subject: [PATCH] CONFIGURE: Add android-x86_64 and android-mips64 targets --- configure | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0af7386a91c..b7654c4b429 100755 --- a/configure +++ b/configure @@ -1544,11 +1544,21 @@ android-mips) _host_cpu=mipsel _host_alias=mipsel-linux-android ;; +android-mips64) + _host_os=android + _host_cpu=mips64el + _host_alias=mips64el-linux-android + ;; android-x86) _host_os=android _host_cpu=i686 _host_alias=i686-linux-android ;; +android-x86_64) + _host_os=android + _host_cpu=x86_64 + _host_alias=x86_64-linux-android + ;; androidsdl-armeabi | androidsdl-armeabi-v7a) _host_os=androidsdl _host_cpu=arm @@ -2578,12 +2588,18 @@ case $_host_os in ABI="mips" # Platform version 9 is needed as earlier versions of platform do not support this arch. ;; + android-mips64) + ABI="mips64" + ;; android-x86) append_var CXXFLAGS "-march=i686" append_var CXXFLAGS "-mtune=i686" ABI="x86" # Platform version 9 is needed as earlier versions of platform do not support this arch. ;; + android-x86_64) + ABI="x86_64" + ;; ouya) append_var CXXFLAGS "-march=armv7-a" append_var CXXFLAGS "-mtune=cortex-a9" @@ -3036,7 +3052,7 @@ if test -n "$_host"; then _vorbis=no _port_mk="backends/platform/3ds/3ds.mk" ;; - android | android-arm | android-v7a | android-arm-v7a | android-arm64-v8a | android-mips | android-x86 | ouya) + android | android-arm | android-v7a | android-arm-v7a | android-arm64-v8a | android-mips | android-mips64 | android-x86 | android-x86_64 | ouya) # we link a .so as default append_var LDFLAGS "-shared" append_var LDFLAGS "-Wl,-Bsymbolic,--no-undefined"