aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-06-28 22:18:24 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-06-28 22:18:24 +0000
commit69426a9a65211eff0cb747a8b5ca61f0ba2690fa (patch)
tree809d1651213dea1c37ab6860d1c3bda05d6c1ec7
parent316ef4392455de82413284e9fc40dd2f6540c8a9 (diff)
parentb091d00710c88d10d8677b85d3c2ce6f264a8dbe (diff)
downloadlibgdx-69426a9a65211eff0cb747a8b5ca61f0ba2690fa.tar.gz
Suppress warnings
am: b091d00710 Change-Id: Ib493bb0d6582b498b196d628070cb9200acd09d6
-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