summaryrefslogtreecommitdiff
path: root/platform/android/jni/Application.mk
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/jni/Application.mk')
-rw-r--r--platform/android/jni/Application.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/platform/android/jni/Application.mk b/platform/android/jni/Application.mk
index 8eb9c3b9..60909b6e 100644
--- a/platform/android/jni/Application.mk
+++ b/platform/android/jni/Application.mk
@@ -24,13 +24,9 @@ APP_ABI := armeabi-v7a
ifdef NDK_PROFILER
# The profiler doesn't seem to receive ticks when run on release code.
# Accordingly, we need to build as debug - but this turns optimisations
-# off, which is less than ideal. We COULD force them back on by using
-# APP_CFLAGS = -O2, but this then triggers bugs in the compiler when it
-# builds a couple of our source files. Accordingly, we have moved
-# those files into Core2, and we have some flag hackery to make just that
-# module without optimisation.
+# off, which is less than ideal.
APP_OPTIM := debug
-APP_CFLAGS :=
+APP_CFLAGS := -O2
else
APP_OPTIM := release
endif