build: install into install-files not install which clashes with case-insensitive INSTALL file on win32
This commit is contained in:
23
build_arm_2.sh
Normal file
23
build_arm_2.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#export TOOLCHAIN=/opt/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64
|
||||
export TOOLCHAIN=/c/Users/david/AppData/Local/Android/Sdk/ndk/29.0.14206865/toolchains/llvm/prebuilt/windows-x86_64
|
||||
export TARGET=aarch64-linux-android
|
||||
#export TARGET=x86_64-linux-android
|
||||
export API=24
|
||||
export AR=$TOOLCHAIN/bin/llvm-ar
|
||||
export AS=$TOOLCHAIN/bin/llvm-as
|
||||
export CC=$TOOLCHAIN/bin/$TARGET$API-clang
|
||||
export CXX=$TOOLCHAIN/bin/$TARGET$API-clang++
|
||||
export LD=$TOOLCHAIN/bin/ld
|
||||
export RANLIB=$TOOLCHAIN/bin/llvm-ranlib
|
||||
export STRIP=$TOOLCHAIN/bin/llvm-strip
|
||||
|
||||
export CFLAGS=-DNOXFERMEM
|
||||
./configure --host $TARGET --with-audio=dummy --with-cpu=arm_fpu --prefix=$(pwd)/install-files
|
||||
make
|
||||
make install
|
||||
|
||||
# add NOXFERMEM ifdefs to buffer.c and xfermem.c
|
||||
# see https://android.googlesource.com/platform/external/mpg123/+/refs/heads/master/src/buffer.c
|
||||
#
|
||||
|
||||
# run 'make' with MSYS2, not Chocolatey make -> avoid 'C:/Program Files/' style SHELL
|
||||
Reference in New Issue
Block a user