CCFLAGS = -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -D_NDK_MATH_NO_SOFTFP=1
ANDROID_ABI = armeabi-v7a-hard

#define TARGARCH arm
#define TARGARCH_ABI arm
#define TARGOPTIM release
#define ARM
#define PIC

CCFLAGS += -pipe -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -O2 -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -fvisibility=hidden -g
SFLAGS += -march=armv7-a -D_HIDDEN -D__PIC__

ANDROID_ARCH = arch-arm
ANDROID_GCC_PREFIX = arm-linux-androideabi
ANDROID_GCC_VERSION = 4.8
ANDROID_GCC = %(ANDROID_GCC_PREFIX)-%(ANDROID_GCC_VERSION)
ANDROID_GCC_LIB = gcc/%(ANDROID_GCC_PREFIX)/%(ANDROID_GCC_VERSION)/armv7-a/hard/libgcc.a
ANDROID_TOOL_DIR = %(ANDROID_GCC)

#include "android.inc"
