summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2017-01-22 17:43:13 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-01-27 15:48:16 +0000
commit9c924e823543d24476d73b3f5878935552f31891 (patch)
tree8cae15f9ff489c6dc77eb46b1b6936bfe11eba5d
parentff38457e0f72b24d3a9952893afae4f68da8e479 (diff)
downloadlibdrm-9c924e823543d24476d73b3f5878935552f31891.tar.gz
libdrm-9c924e823543d24476d73b3f5878935552f31891.tar.bz2
libdrm-9c924e823543d24476d73b3f5878935552f31891.zip
android: silence ~550 warnings
Analogous to the autoconf build add the following to the build -Wno-unused-parameter -Wno-missing-field-initializers Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r--Android.common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
index 71f14ec3..f57b8d37 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -3,6 +3,10 @@ LOCAL_CFLAGS += \
-DHAVE_VISIBILITY=1 \
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
+LOCAL_CFLAGS += \
+ -Wno-unused-parameter \
+ -Wno-missing-field-initializers
+
# Quiet down the build system and remove any .h files from the sources
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)