OSDN Git Service

Android: disable warnings causing errors
authorRob Herring <robh@kernel.org>
Mon, 27 Nov 2017 19:32:19 +0000 (13:32 -0600)
committerRob Herring <robh@kernel.org>
Mon, 27 Nov 2017 23:26:45 +0000 (17:26 -0600)
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

index 5671c1c..fcd9a87 100644 (file)
@@ -31,6 +31,7 @@ LOCAL_C_INCLUDES += \
 
 MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION)
 LOCAL_CFLAGS += \
+       -Wno-error \
        -Wno-unused-parameter \
        -Wno-pointer-arith \
        -Wno-missing-field-initializers \