Fix boinc platform strings for Android

Some compiled clients may appear as "$ARCH-unknown-linux-android" instead of "$ARCH-android-linux-gnu" to project servers
This is because of Android NDK specifies "$ARCH-linux-android" triplets and users forget to specify "--with-boinc-platform"
Fix this in "boinc_platform.m4" so that Android boinc platform strings changes are not needed across all projects
boinc_alt_platform is excluded to prepare for 64bit only Android devices
Users can add back requesting 32bit tasks with "--with-boinc-alt-platform" during compile or "<alt_platform>" during runtime
This commit is contained in:
Jia Yuan Lo 2020-05-19 14:26:18 +08:00
parent 5c4c6afbb1
commit b5faa09a9b
1 changed files with 12 additions and 0 deletions

View File

@ -51,6 +51,18 @@ AC_DEFUN([BOINC_PLATFORM],[
ia64-hp-hpux*)
boinc_platform="ia64-hp-hpux"
;;
aarch64*linux-android)
boinc_platform="aarch64-android-linux-gnu"
;;
arm*linux-android*)
boinc_platform="arm-android-linux-gnu"
;;
x86_64*linux-android)
boinc_platform="x86_64-android-linux-gnu"
;;
i686*linux-android)
boinc_platform="x86-android-linux-gnu"
;;
esac
case "${target}" in
i386-pc-os2)