2019-05-19 09:06:07 +02:00
|
|
|
--- ./releng/setup-env.sh.orig 2019-05-19 08:35:29.686650174 +0200
|
|
|
|
+++ ./releng/setup-env.sh 2019-05-19 08:41:29.746647583 +0200
|
2018-09-29 18:33:27 +02:00
|
|
|
@@ -97,8 +97,8 @@
|
2018-03-05 22:15:17 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $host_platform = android ]; then
|
2018-09-29 18:33:27 +02:00
|
|
|
- ndk_required_name=r17b
|
|
|
|
- ndk_required_version=17.1.4828580
|
2019-03-04 23:25:09 +01:00
|
|
|
+ ndk_required_name=r19b
|
|
|
|
+ ndk_required_version=19.1.5304403
|
2018-03-05 22:15:17 +01:00
|
|
|
if [ -n "$ANDROID_NDK_ROOT" ]; then
|
|
|
|
if [ -f "$ANDROID_NDK_ROOT/source.properties" ]; then
|
|
|
|
ndk_installed_version=$(grep Pkg.Revision "$ANDROID_NDK_ROOT/source.properties" | awk '{ print $NF; }')
|
2019-05-19 09:06:07 +02:00
|
|
|
@@ -465,25 +465,25 @@
|
2018-06-12 23:19:03 +02:00
|
|
|
|
|
|
|
case $host_arch in
|
|
|
|
x86)
|
2019-05-19 09:06:07 +02:00
|
|
|
- android_api=18
|
|
|
|
+ android_api=24
|
2018-09-29 18:33:27 +02:00
|
|
|
host_triplet="i686-linux-android"
|
|
|
|
host_arch_flags="-march=i686"
|
|
|
|
host_ldflags="-fuse-ld=gold"
|
2019-05-19 09:06:07 +02:00
|
|
|
;;
|
|
|
|
x86_64)
|
|
|
|
- android_api=21
|
|
|
|
+ android_api=24
|
|
|
|
host_triplet="x86_64-linux-android"
|
|
|
|
host_arch_flags=""
|
|
|
|
host_ldflags="-fuse-ld=gold -Wl,--icf=all"
|
2018-06-12 23:19:03 +02:00
|
|
|
;;
|
|
|
|
arm)
|
2019-05-19 09:06:07 +02:00
|
|
|
- android_api=18
|
|
|
|
+ android_api=24
|
2018-09-29 18:33:27 +02:00
|
|
|
host_triplet="arm-linux-androideabi"
|
|
|
|
host_arch_flags="-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16"
|
2019-05-19 09:06:07 +02:00
|
|
|
host_ldflags="-fuse-ld=gold -Wl,--icf=all -Wl,--fix-cortex-a8"
|
|
|
|
;;
|
|
|
|
arm64)
|
|
|
|
- android_api=21
|
|
|
|
+ android_api=24
|
|
|
|
host_triplet="aarch64-linux-android"
|
|
|
|
host_arch_flags=""
|
|
|
|
host_ldflags="-fuse-ld=gold -Wl,--icf=all"
|