From 4d76449e7f45d125b8427e63e06d733ee73a84c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 4 Jun 2021 14:32:25 +0800 Subject: Android configure wrappers --- aarch64-linux-android-configure | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 aarch64-linux-android-configure (limited to 'aarch64-linux-android-configure') diff --git a/aarch64-linux-android-configure b/aarch64-linux-android-configure new file mode 100755 index 0000000..8690ece --- /dev/null +++ b/aarch64-linux-android-configure @@ -0,0 +1,9 @@ +#!/bin/sh +export TOOLCHAIN=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64 +export TARGET=aarch64-linux-android +export API=21 +export CC=$TOOLCHAIN/bin/$TARGET$API-clang +export PREFIX=$TOOLCHAIN/sysroot/usr +export CPPFLAGS="$CPPFLAGS -DDEBUG" +export CFLAGS="$CFLAGS -g" +./configure --host=$TARGET --prefix=$PREFIX --libdir=$PREFIX/lib/$TARGET/$API --disable-static -- cgit v1.2.3