[PATCH libdrm] Android: disable warnings causing errors

Rob Herring robh at kernel.org
Mon Nov 27 19:39:20 UTC 2017


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 at kernel.org>
---
 Android.common.mk | 1 +
 1 file changed, 1 insertion(+)

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 \
-- 
2.14.1



More information about the dri-devel mailing list