termux-packages/root-packages/frida-server/compiler.patch
Henrik Grimler 9b8cb4d83c
frida-server: update to 14.2.14
Also create new subpackage frida-dev with libraries and include files.

Frida should be built with ndk r22 but I have now patched it to use
r21 since we have not switched to r22 yet.  Using a lower version
might break stuff, but frida-python is already broken anyways since it
relies on python3.8 so building with r21 does not make the current
situation worse.

Updating it now so that the version in the Bintray repos will not be
left in guaranteed broken state.
2022-04-18 14:31:51 +05:30

27 lines
902 B
Diff

--- ./releng/setup-env.sh.orig_CC 2020-12-05 16:35:01.103852860 +0100
+++ ./releng/setup-env.sh 2020-12-05 16:35:07.473842975 +0100
@@ -929,9 +929,9 @@
echo "export VALAC=\"$VALAC\""
echo "export CPP=\"$CPP\""
echo "export CPPFLAGS=\"$CPPFLAGS\""
- echo "export CC=\"$CC\""
+ echo "export CC=\"gcc\""
echo "export CFLAGS=\"$CFLAGS\""
- echo "export CXX=\"$CXX\""
+ echo "export CXX=\"g++\""
echo "export CXXFLAGS=\"$CXXFLAGS\""
echo "export LD=\"$LD\""
echo "export LDFLAGS=\"$LDFLAGS\""
@@ -990,9 +990,9 @@
echo "export PKG_CONFIG_PATH=\"\""
echo "export VALAC=\"$VALAC\""
echo "export CPPFLAGS=\"$CPPFLAGS\""
- echo "export CC=\"$CC\""
+ echo "export CC=\"gcc\""
echo "export CFLAGS=\"$CFLAGS\""
- echo "export CXX=\"$CXX\""
+ echo "export CXX=\"g++\""
echo "export CXXFLAGS=\"$CXXFLAGS\""
echo "export LDFLAGS=\"$LDFLAGS\""
echo "export AR=\"$AR\""