From: Rob Herring Date: Tue, 7 Jun 2016 23:27:33 +0000 (-0500) Subject: Android: disable some noisy warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9;p=mesa.git 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 Acked-by: Emil Velikov --- 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)