浏览代码

add more warnings to the JNI build

Grant Limberg 10 年之前
父节点
当前提交
9bf9670ff9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      java/jni/Application.mk

+ 1 - 1
java/jni/Application.mk

@@ -1,3 +1,3 @@
 APP_ABI := armeabi armeabi-v7a arm64-v8a x86
 APP_STL := gnustl_static
-APP_CPPFLAGS += -fexceptions
+APP_CPPFLAGS += -Wall -fPIE -fstack-protector -fexceptions