diff options
author | stujones11 <stujones111@gmail.com> | 2017-11-15 19:52:19 +0000 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2018-06-03 23:14:26 +0200 |
commit | b5350e27ad7bc54a3a97db988119db83c67f96b3 (patch) | |
tree | e0450cc478f723c2dffd9bd9729468459ac85d35 /build/android/jni | |
parent | ecbb9310de9cde6bf22dacbb1e95da326daafa51 (diff) | |
download | minetest-b5350e27ad7bc54a3a97db988119db83c67f96b3.tar.gz minetest-b5350e27ad7bc54a3a97db988119db83c67f96b3.tar.bz2 minetest-b5350e27ad7bc54a3a97db988119db83c67f96b3.zip |
Android: Update build system for ndk-r15x
Add workarounds for ndk-r16.
Diffstat (limited to 'build/android/jni')
-rw-r--r-- | build/android/jni/Application.mk | 10 | ||||
-rw-r--r-- | build/android/jni/Deps.mk | 8 | ||||
-rw-r--r-- | build/android/jni/Irrlicht.mk | 9 |
3 files changed, 22 insertions, 5 deletions
diff --git a/build/android/jni/Application.mk b/build/android/jni/Application.mk index 53467059a..dfe7afb3d 100644 --- a/build/android/jni/Application.mk +++ b/build/android/jni/Application.mk @@ -1,9 +1,9 @@ -# NDK_TOOLCHAIN_VERSION := clang3.8 - -APP_PLATFORM := android-9 -APP_MODULES := minetest +APP_PLATFORM := ${APP_PLATFORM} +APP_ABI := ${TARGET_ABI} APP_STL := gnustl_static +NDK_TOOLCHAIN_VERSION := 4.9 +APP_DEPRECATED_HEADERS := true +APP_MODULES := minetest APP_CPPFLAGS += -fexceptions APP_GNUSTL_FORCE_CPP_FEATURES := rtti - diff --git a/build/android/jni/Deps.mk b/build/android/jni/Deps.mk new file mode 100644 index 000000000..36af338b2 --- /dev/null +++ b/build/android/jni/Deps.mk @@ -0,0 +1,8 @@ +APP_PLATFORM := ${APP_PLATFORM} +APP_ABI := ${TARGET_ABI} +APP_STL := gnustl_static +NDK_TOOLCHAIN_VERSION := 4.9 +APP_DEPRECATED_HEADERS := true + +APP_CLAFGS += -mfloat-abi=softfp -mfpu=vfpv3 -O3 +APP_CPPFLAGS += -fexceptions diff --git a/build/android/jni/Irrlicht.mk b/build/android/jni/Irrlicht.mk new file mode 100644 index 000000000..a48c2902b --- /dev/null +++ b/build/android/jni/Irrlicht.mk @@ -0,0 +1,9 @@ +APP_PLATFORM := ${APP_PLATFORM} +APP_ABI := ${TARGET_ABI} +APP_STL := gnustl_static +NDK_TOOLCHAIN_VERSION := 4.9 +APP_DEPRECATED_HEADERS := true +APP_MODULES := Irrlicht + +APP_CLAFGS += -mfloat-abi=softfp -mfpu=vfpv3 -O3 +APP_CPPFLAGS += -fexceptions |