From 2ceeb993361e02615f1a28bfc8811eacbac194e9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 27 Jan 2018 12:05:26 -0800 Subject: [PATCH] Fixed bug 4065 - SDL_wave.c fail to compile in armeabi with ndk r16b Sylvain armeabi is almost deprecated for android-ndk higher that r13b. either it doesn't compile (ICE), or it executes wrongly (using long long for instance). android people advices to use armeabi-v7a (or use r13b). --- build-scripts/androidbuildlibs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-scripts/androidbuildlibs.sh b/build-scripts/androidbuildlibs.sh index 4a0bb2f78289c..934becc684810 100755 --- a/build-scripts/androidbuildlibs.sh +++ b/build-scripts/androidbuildlibs.sh @@ -68,7 +68,7 @@ ndk-build \ NDK_OUT=$obj \ NDK_LIBS_OUT=$lib \ APP_BUILD_SCRIPT=Android.mk \ - APP_ABI="all" \ - APP_PLATFORM=android-12 \ + APP_ABI="armeabi-v7a arm64-v8a x86 x86_64" \ + APP_PLATFORM=android-14 \ APP_MODULES="SDL2 SDL2_main" \ $ndk_args