diff options
Diffstat (limited to 'android/olm-sdk/src/main/jni/Android.mk')
-rw-r--r-- | android/olm-sdk/src/main/jni/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/olm-sdk/src/main/jni/Android.mk b/android/olm-sdk/src/main/jni/Android.mk index aceaef0..44a2787 100644 --- a/android/olm-sdk/src/main/jni/Android.mk +++ b/android/olm-sdk/src/main/jni/Android.mk @@ -21,6 +21,9 @@ LOCAL_CFLAGS+= -DOLMLIB_VERSION_MAJOR=$(MAJOR) \ #LOCAL_CFLAGS+= -DNDK_DEBUG +LOCAL_CFLAGS+=-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wall +LOCAL_LDFLAGS=-z relro -z now + LOCAL_C_INCLUDES+= $(LOCAL_PATH)/$(SRC_ROOT_DIR)/include/ \ $(LOCAL_PATH)/$(SRC_ROOT_DIR)/lib |