Browse Source

Set -O0

anything above that currently goes kaboom on ARM platforms
Grant Limberg 10 years ago
parent
commit
ab34884e3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      java/jni/Application.mk

+ 1 - 1
java/jni/Application.mk

@@ -1,5 +1,5 @@
 NDK_TOOLCHAIN_VERSION := clang
 NDK_TOOLCHAIN_VERSION := clang
 APP_STL := c++_static
 APP_STL := c++_static
-APP_CPPFLAGS := -O2 -fPIE -fvectorize -Wall -fstack-protector -fexceptions -fno-strict-aliasing
+APP_CPPFLAGS := -O0 -fPIC -fPIE -fvectorize -Wall -fstack-protector -fexceptions -fno-strict-aliasing
 APP_PLATFORM := android-14
 APP_PLATFORM := android-14
 APP_ABI := all
 APP_ABI := all