[libdrm] Android: disable warnings causing errors

Message ID 20171127193920.26366-1-robh@kernel.org
State New
Headers show
Series
  • [libdrm] Android: disable warnings causing errors
Related show

Commit Message

Rob Herring Nov. 27, 2017, 7:39 p.m.
AOSP master has changed the build default to -Werror making all the
warnings errors. Override that with -Wno-error.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Android.common.mk | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/Android.common.mk b/Android.common.mk
index d487acb95fd4..e3de1069dfad 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -5,6 +5,7 @@  LOCAL_CFLAGS += \
 	-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
 
 LOCAL_CFLAGS += \
+	-Wno-error \
 	-Wno-unused-parameter \
 	-Wno-missing-field-initializers \
 	-Wno-pointer-arith \