summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-23 21:14:54 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-23 22:31:31 +0300
commitc4a63fe9e5804ff2f725df7fd5a9311dc177d8ee (patch)
tree023688d0354e304a52b8281edcd032295d72338e /Android.mk
parent958a4e40477d7d598b147e986d86d7080bebf223 (diff)
downloadplus-c4a63fe9e5804ff2f725df7fd5a9311dc177d8ee.tar.gz
plus-c4a63fe9e5804ff2f725df7fd5a9311dc177d8ee.tar.bz2
plus-c4a63fe9e5804ff2f725df7fd5a9311dc177d8ee.tar.xz
plus-c4a63fe9e5804ff2f725df7fd5a9311dc177d8ee.zip
Add -fpic -fpie into Android.mk
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 1192f6ca1..1e02ed59f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -19,7 +19,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \
LOCAL_CPPFLAGS += -DUSE_SDL2 -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL -DENABLE_NLS -DENABLE_LIBXML
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_CPPFLAGS += -fpic -fpie
LOCAL_SHARED_LIBRARIES := SDL2 SDL2_mixer sdl_net SDL2_ttf SDL2_image libcurl intl png physfs sdl2_gfx xml2