Add -fPIE FLAGS.

This commit is contained in:
codewalker 2016-03-21 18:46:50 +09:00
parent 40bb585b6e
commit d7e28b196a

View File

@ -76,4 +76,7 @@ LOCAL_STATIC_LIBRARIES := libjpeg libpng libssl_static libcrypto_static
LOCAL_MODULE := androidvncserver
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -pie
include $(BUILD_EXECUTABLE)