armv7 Here is an autogen.input for Android on ARM when cross-compiling from Linux: –enable-dbgutil –enable-werror –with-distro=LibreOfficeAndroid
x86 And here is an (quite old) autogen.input for Android on X86: –with-android-ndk=/opt/libreoffice/android-ndk-r8b –with-android-ndk-toolchain-version=4.6 –with-android-sdk=/opt/libreoffice/android-sdk-linux –build=i586-suse-linux –enable-ccache –with-distro=LibreOfficeAndroidX86
生成Makefile ./autogen.sh 执行该命令生成Makefile 生成的Makefile 的58行 @if test id -u = 0 && ! grep -q ‘lxc|docker’ /proc/self/cgroup; then 改为 @if test id -u = !0 && ! grep -q ‘lxc|docker’ /proc/self/cgroup; then 不然root权限执行也会错误