aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-06-28 22:21:31 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-06-28 22:21:31 +0000
commita3ad146034936de84cf5792d466eedbf6808ae43 (patch)
tree809d1651213dea1c37ab6860d1c3bda05d6c1ec7
parent62dd27d14a0617e074b877143dbf8001e652a869 (diff)
parent69426a9a65211eff0cb747a8b5ca61f0ba2690fa (diff)
downloadlibgdx-a3ad146034936de84cf5792d466eedbf6808ae43.tar.gz
Suppress warnings am: b091d00710
am: 69426a9a65 Change-Id: Iad98fd99b03b65e83c5427aa32f3055133acd989
-rw-r--r--gdx/jni/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdx/jni/Android.mk b/gdx/jni/Android.mk
index 5b1eb61f4..5d4bc3c47 100644
--- a/gdx/jni/Android.mk
+++ b/gdx/jni/Android.mk
@@ -4,7 +4,9 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libgdx
LOCAL_C_INCLUDES :=
-LOCAL_CFLAGS := -O2 -Wall
+# Ignore warnings until they are fixed upstream. See https://github.com/libgdx/libgdx/issues/4169
+LOCAL_CFLAGS := -O2 -Wall -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function \
+ -Wno-sign-compare -Wno-shift-negative-value -Wno-pointer-arith -Wno-invalid-noreturn
LOCAL_LDLIBS := -lm -lGLESv2 -llog
LOCAL_ARM_MODE := arm
LOCAL_SDK_VERSION := 23