From: Rob Herring Date: Fri, 29 Jan 2016 18:52:27 +0000 (-0600) Subject: Android: disable unused-parameter warning X-Git-Tag: upstream/17.1.0~12419 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c7f97426dee3678beb879c94cd8906c33b8f3dc;p=platform%2Fupstream%2Fmesa.git Android: disable unused-parameter warning Android builds with -Wunused-parameter enabled which results in spewing lots of warnings. Disable it so more meaningful warnings are more visible. Signed-off-by: Rob Herring Reviewed-by: Emil Velikov --- diff --git a/Android.common.mk b/Android.common.mk index 72fa5d9..c4823f7 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -32,6 +32,7 @@ LOCAL_C_INCLUDES += \ MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION) # define ANDROID_VERSION (e.g., 4.0.x => 0x0400) LOCAL_CFLAGS += \ + -Wno-unused-parameter \ -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)