-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compilation with last NDK + some hardening #13
Comments
Hi @af-anssi, Thanks for this contribution. As per https://git.matrix.org/git/olm/tree/CONTRIBUTING.rst, could you please sign off this patch? |
Hi @af-anssi , Is it necessary to add all the Benoît |
The |
Hi @af-anssi, ok for "string.h", but moved to olm_jni.h to factorize Your description says "compile with the last NDK", but I do not see this in the provided patch. Is it missing |
diff --git a/android/olm-sdk/src/main/jni/Android.mk b/android/olm-sdk/src/main/jni/Android.mk #LOCAL_CFLAGS+= -DNDK_DEBUG +LOCAL_CFLAGS+=-fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wall diff --git a/android/olm-sdk/src/main/jni/Application.mk b/android/olm-sdk/src/main/jni/Application.mk #include |
Hi @af-anssi , |
I have a trivial patch to submit to compile with the last NDK and include some hardening measures in the produced library. Where can I send/submit it ?
I paste it below but tell me if I have to submit it somewhere else.
The text was updated successfully, but these errors were encountered: