aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-10 13:32:47 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-10 13:33:14 -0700
commit52a61d1b84bc292973e10395f52c2ee90144a797 (patch)
treef8ce35d0573fa9325845e2901ac77360c8d0a222
parentbea7af187e5d183b2c26ecc3366b1162c9f43060 (diff)
downloaddtc-52a61d1b84bc292973e10395f52c2ee90144a797.tar.gz
Use -Werror in external/dtc
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I514ccf45605e3cdc661dd663c735b3c052c60f43
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 750a216..4828a41 100644
--- a/Android.mk
+++ b/Android.mk
@@ -4,6 +4,8 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_CFLAGS := \
+ -Wall \
+ -Werror \
-Wno-sign-compare \
-Wno-missing-field-initializers \
-Wno-unused-parameter