summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-26 00:05:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-26 00:05:37 +0300
commitc99095851421b65878f6ef138094560298123c57 (patch)
treeb80d7c7a974609ec3c8c545d01e98369891625ae /Android.mk
parent066cb740fb8766d4adb8319b97f5f86d3a33651e (diff)
downloadmv-c99095851421b65878f6ef138094560298123c57.tar.gz
mv-c99095851421b65878f6ef138094560298123c57.tar.bz2
mv-c99095851421b65878f6ef138094560298123c57.tar.xz
mv-c99095851421b65878f6ef138094560298123c57.zip
add optimisation flags into Android.mk
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 1ae9c05ec..3e2e0d39b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,7 +18,9 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \
$(ROOT_PATH)/SDL2_net-2.0.0
LOCAL_CPPFLAGS += -DUSE_SDL2 -DUSE_INTERNALGUICHAN -DEATHENA_SUPPORT -DUSE_OPENGL -DENABLE_NLS
-LOCAL_CPPFLAGS += -frtti -fexceptions -Wno-error=format-security
+LOCAL_CPPFLAGS += -frtti -fexceptions -Wno-error=format-security -fvisibility=hidden
+LOCAL_CPPFLAGS += -ffast-math -funswitch-loops -pedantic -Wall -Wc++11-compat -std=c++0x -funsafe-loop-optimizations -flto -fwhole-program
+
LOCAL_SHARED_LIBRARIES := SDL2 SDL2_mixer sdl_net SDL2_ttf SDL2_image libcurl intl png physfs sdl2_gfx xml2