termux-packages/root-packages/frida-server/setup-env.sh.patch
Henrik Grimler 7d97cdb608
frida: fix build and use node 10.16.2 on host
%ci:reset-backlog
2022-04-18 14:31:12 +05:30

34 lines
1.1 KiB
Diff

--- ./releng/setup-env.sh.orig 2019-08-08 21:23:40.911592625 +0200
+++ ./releng/setup-env.sh 2019-08-08 21:24:27.511533446 +0200
@@ -461,26 +461,26 @@
case $host_arch in
x86)
- android_api=18
+ android_api=24
host_compiler_triplet="i686-linux-android"
host_arch_flags="-march=i686"
host_ldflags="-fuse-ld=gold"
;;
x86_64)
- android_api=21
+ android_api=24
host_compiler_triplet="x86_64-linux-android"
host_arch_flags=""
host_ldflags="-fuse-ld=gold -Wl,--icf=all"
;;
arm)
- android_api=18
+ android_api=24
host_compiler_triplet="armv7a-linux-androideabi"
host_tooltriplet="arm-linux-androideabi"
host_arch_flags="-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16"
host_ldflags="-fuse-ld=gold -Wl,--icf=all -Wl,--fix-cortex-a8"
;;
arm64)
- android_api=21
+ android_api=24
host_compiler_triplet="aarch64-linux-android"
host_arch_flags=""
host_ldflags="-fuse-ld=gold -Wl,--icf=all"