mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
fix to compile with latest ndk
This commit is contained in:
parent
845370c9ca
commit
b5b01b75f7
2 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
|
|
||||||
typedef unsigned char XP_U8;
|
typedef unsigned char XP_U8;
|
||||||
|
|
|
@ -38,11 +38,11 @@ echo "# Generated by $0; do not edit!!!" > $TMP_MK
|
||||||
|
|
||||||
# TODO: reserach whether armeabi-v7a is better here
|
# TODO: reserach whether armeabi-v7a is better here
|
||||||
if [ -n "$XWORDS_DEBUG_ARMONLY" ]; then
|
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
|
elif [ -n "$XWORDS_DEBUG_X86ONLY" ]; then
|
||||||
echo "APP_ABI := x86" >> $TMP_MK
|
echo "APP_ABI := x86" >> $TMP_MK
|
||||||
else
|
else
|
||||||
echo "APP_ABI := armeabi arm64-v8a x86" >> $TMP_MK
|
echo "APP_ABI := armeabi-v7a arm64-v8a x86" >> $TMP_MK
|
||||||
fi
|
fi
|
||||||
# echo "APP_OPTIM := debug" >> $TMP_MK
|
# echo "APP_OPTIM := debug" >> $TMP_MK
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue