CONFIGURE: Add android-x86_64 and android-mips64 targets

This commit is contained in:
Cameron Cawley 2019-09-29 18:53:59 +01:00
parent d7a9080b42
commit 13337e0f2e

18
configure vendored
View File

@ -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"