Fixed bug 4065 - SDL_wave.c fail to compile in armeabi with ndk r16b
authorSam Lantinga <slouken@libsdl.org>
Sat, 27 Jan 2018 12:05:26 -0800
changeset 11836a42b155124a3
parent 11835 f622a4457a25
child 11837 25872a19809a
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
     1.1 --- a/build-scripts/androidbuildlibs.sh	Thu Jan 25 11:12:20 2018 -0800
     1.2 +++ b/build-scripts/androidbuildlibs.sh	Sat Jan 27 12:05:26 2018 -0800
     1.3 @@ -68,7 +68,7 @@
     1.4    NDK_OUT=$obj \
     1.5    NDK_LIBS_OUT=$lib \
     1.6    APP_BUILD_SCRIPT=Android.mk \
     1.7 -  APP_ABI="all" \
     1.8 -  APP_PLATFORM=android-12 \
     1.9 +  APP_ABI="armeabi-v7a arm64-v8a x86 x86_64" \
    1.10 +  APP_PLATFORM=android-14 \
    1.11    APP_MODULES="SDL2 SDL2_main" \
    1.12    $ndk_args