Android: SPEEEEED!

This commit is contained in:
Maksim Gamarnik 2016-02-17 07:13:12 +02:00
parent b0a8937def
commit 7b5d77084e
3 changed files with 3 additions and 8 deletions

View File

@ -26,7 +26,7 @@ TARGET_CXXFLAGS_ADDON = $(TARGET_CFLAGS_ADDON)
TARGET_LDFLAGS_ADDON = -Wl,--no-warn-mismatch -lm_hard
TARGET_ARCH = armv7
CROSS_PREFIX = arm-linux-androideabi-
COMPILER_VERSION = 4.9
COMPILER_VERSION = clang3.6
HAVE_LEVELDB = 0
################################################################################

View File

@ -80,7 +80,7 @@ LOCAL_CFLAGS := -D_IRR_ANDROID_PLATFORM_ \
ifndef NDEBUG
LOCAL_CFLAGS += -g -D_DEBUG -O0 -fno-omit-frame-pointer
else
LOCAL_CFLAGS += -D_NDK_MATH_NO_SOFTFP=1 -mfloat-abi=hard -O3 -march=armv7-a
LOCAL_CFLAGS += -D_NDK_MATH_NO_SOFTFP=1 -mfloat-abi=hard -Ofast -fno-fast-math -march=armv7-a
# ToDo - disable for x86?
endif

View File

@ -1,8 +1,3 @@
# NDK_TOOLCHAIN_VERSION := clang3.3
APP_PLATFORM := android-16
APP_MODULES := multicraft
APP_STL := gnustl_static
APP_CPPFLAGS += -fexceptions
APP_GNUSTL_FORCE_CPP_FEATURES := rtti
APP_STL := gnustl_static