Skip to content
Snippets Groups Projects
Commit ed7649d7 authored by Benoit Marty's avatar Benoit Marty Committed by Hubert Chathi
Browse files

Compiling with last NDK + some hardening

parent 08e50693
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
APP_PLATFORM := android-16
APP_ABI := arm64-v8a armeabi-v7a armeabi x86_64 x86
APP_STL := gnustl_static
\ No newline at end of file
APP_ABI := arm64-v8a armeabi-v7a x86_64 x86
APP_STL := gnustl_static
......@@ -21,6 +21,7 @@
#include <cstdlib>
#include <cstdio>
#include <string>
#include <string.h>
#include <sstream>
#include <jni.h>
#include <android/log.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment