diff options
author | Jorim Jaggi <jjaggi@google.com> | 2016-06-27 13:46:03 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2016-06-28 13:17:12 -0700 |
commit | b091d00710c88d10d8677b85d3c2ce6f264a8dbe (patch) | |
tree | 809d1651213dea1c37ab6860d1c3bda05d6c1ec7 | |
parent | 023b1e2bfd4f605146499a1bdc4de3ac99934a46 (diff) | |
download | libgdx-b091d00710c88d10d8677b85d3c2ce6f264a8dbe.tar.gz |
Suppress warnings
Fixes: 29634520
Bug: 28936996
Change-Id: Ibfba11dce42bcf3642f802f9ae05a6e302732bc3
-rw-r--r-- | gdx/jni/Android.mk | 4 |
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
|