Android: disable some noisy warnings
authorRob Herring <robh@kernel.org>
Tue, 7 Jun 2016 23:27:33 +0000 (18:27 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jun 2016 14:31:29 +0000 (15:31 +0100)
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>
Android.common.mk

index b866293b18e3a6e7669d525830572396dff24223..831cbe59ff0eb6ae0d302f363f8ab87eac714767 100644 (file)
@@ -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)