fix to compile with latest ndk

This commit is contained in:
eehouse111999 2020-02-09 20:02:01 -08:00
parent 845370c9ca
commit b5b01b75f7
2 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <android/log.h>
typedef unsigned char XP_U8;

View file

@ -38,11 +38,11 @@ echo "# Generated by $0; do not edit!!!" > $TMP_MK
# TODO: reserach whether armeabi-v7a is better here
if [ -n "$XWORDS_DEBUG_ARMONLY" ]; then
echo "APP_ABI := armeabi arm64-v8a" >> $TMP_MK
echo "APP_ABI := armeabi-v7a arm64-v8a" >> $TMP_MK
elif [ -n "$XWORDS_DEBUG_X86ONLY" ]; then
echo "APP_ABI := x86" >> $TMP_MK
else
echo "APP_ABI := armeabi arm64-v8a x86" >> $TMP_MK
echo "APP_ABI := armeabi-v7a arm64-v8a x86" >> $TMP_MK
fi
# echo "APP_OPTIM := debug" >> $TMP_MK