From 54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 7 Jun 2016 18:27:33 -0500 Subject: [PATCH] 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 --- Android.common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.common.mk b/Android.common.mk index b866293..831cbe5 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) -- 2.7.4