aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'native/jni/Android.mk')
-rw-r--r--native/jni/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/native/jni/Android.mk b/native/jni/Android.mk
index 51aa4eabe..e87577e06 100644
--- a/native/jni/Android.mk
+++ b/native/jni/Android.mk
@@ -32,8 +32,10 @@ LOCAL_CFLAGS += -Werror -Wall -Wextra -Weffc++ -Wformat=2 -Wcast-qual -Wcast-ali
-Wwrite-strings -Wfloat-equal -Wpointer-arith -Winit-self -Wredundant-decls -Wno-system-headers
ifeq ($(TARGET_ARCH), arm)
+ifneq ($(TARGET_GCC_VERSION), 4.7)
LOCAL_CFLAGS += -Winline
-endif
+endif # TARGET_GCC_VERSION
+endif # TARGET_ARCH
# To suppress compiler warnings for unused variables/functions used for debug features etc.
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function