summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-06-07 18:27:33 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2016-06-13 15:31:29 +0100
commit54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9 (patch)
tree430dc4ee7074c648aac7a53cd7e4959d614ab993
parentdb8790c0dadffb6c88a0939bd34eca2b8e75d2e0 (diff)
downloadmesa-54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9.tar.gz
mesa-54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9.tar.bz2
mesa-54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9.zip
Android: disable some noisy warnings
Turn off warnings for -Wpointer-arith, -Wno-missing-field-initializers, -Wno-initializer-overrides, and -Wno-mismatched-tags. These are all deemed pointless, on purpose or no plans to fix. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--Android.common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index b866293b18e..831cbe59ff0 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -34,6 +34,10 @@ MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION)
LOCAL_CFLAGS += \
-Wno-unused-parameter \
-Wno-date-time \
+ -Wno-pointer-arith \
+ -Wno-missing-field-initializers \
+ -Wno-initializer-overrides \
+ -Wno-mismatched-tags \
-DPACKAGE_VERSION=\"$(MESA_VERSION)\" \
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \
-DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION)