diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-06-10 16:59:34 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2018-06-10 17:54:44 +0200 |
commit | 057f1574cba7ad66239fc28abb954b6b84df682f (patch) | |
tree | 69605aeff8ec5d0ab40e6126170fcd72a55e4751 /build/android/Makefile | |
parent | 90acb9b3a769fb949b7202b16e29418c945591a7 (diff) | |
download | minetest-057f1574cba7ad66239fc28abb954b6b84df682f.tar.gz minetest-057f1574cba7ad66239fc28abb954b6b84df682f.tar.bz2 minetest-057f1574cba7ad66239fc28abb954b6b84df682f.zip |
Fix many Android build issues
It remains one issue with MT itself and rtti
Diffstat (limited to 'build/android/Makefile')
-rw-r--r-- | build/android/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/build/android/Makefile b/build/android/Makefile index f32dbdc11..1d6df6e7d 100644 --- a/build/android/Makefile +++ b/build/android/Makefile @@ -86,7 +86,7 @@ OGG_LIB = $(OGG_DIR)libs/$(TARGET_ABI)/libogg.so VORBIS_LIB = $(OGG_DIR)libs/$(TARGET_ABI)/libogg.so OGG_TIMESTAMP = $(OGG_DIR)timestamp OGG_TIMESTAMP_INT = $(ANDR_ROOT)/deps/ogg_timestamp -OGG_URL_GIT = https://github.com/vincentjames501/libvorbis-libogg-android +OGG_URL_GIT = https://gitlab.com/minetest/libvorbis-libogg-android IRRLICHT_REVISION = 5145 IRRLICHT_DIR = $(ANDR_ROOT)/deps/irrlicht/ @@ -268,11 +268,10 @@ $(OGG_LIB): $(OGG_TIMESTAMP) cd ${OGG_DIR}; \ export APP_PLATFORM=${APP_PLATFORM}; \ export TARGET_ABI=${TARGET_ABI}; \ - export TARGET_CFLAGS_ADDON="${TARGET_CFLAGS_ADDON}"; \ - export TARGET_CXXFLAGS_ADDON="${TARGET_CXXFLAGS_ADDON}"; \ - export COMPILER_VERSION=${COMPILER_VERSION}; \ - ${ANDROID_NDK}/ndk-build \ - NDK_APPLICATION_MK=${ANDR_ROOT}/jni/Deps.mk || exit 1; \ + ${ANDROID_NDK}/build/tools/make-standalone-toolchain.sh \ + --toolchain=${TARGET_TOOLCHAIN}${COMPILER_VERSION} \ + --platform=${APP_PLATFORM} \ + --install-dir=$${TOOLCHAIN}; \ touch ${OGG_TIMESTAMP}; \ touch ${OGG_TIMESTAMP_INT}; \ else \ |