Skip to contentSkip to conversation

Android: disable warnings causing errors

PATCH New Rob Herring 1 participant 1 message Nov 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Android: disable warnings causing errors

AOSP master has changed the build default to -Werror making all the warnings errors. Override that with -Wno-error.

---
 Android.common.mk | 1 +
 1 file changed, 1 insertion(+)
Android.common.mk +1 -0
index d487acb95fd4..e3de1069dfad 100644
@@ -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 \
Signature · 6 lines
2.14.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel