diff options
author | Rob Herring <robh@kernel.org> | 2016-01-29 12:52:27 -0600 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-02-18 17:47:33 +0000 |
commit | 5c7f97426dee3678beb879c94cd8906c33b8f3dc (patch) | |
tree | dc7fbae52fafbfc0e91cbe80eb6aab886830ef80 /Android.common.mk | |
parent | 7efc273df18797e8aff671fe09e926b37d938c38 (diff) | |
download | mesa-5c7f97426dee3678beb879c94cd8906c33b8f3dc.tar.gz |
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 <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'Android.common.mk')
-rw-r--r-- | Android.common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk index 72fa5d992d8..c4823f7dbf1 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) |