diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-10 11:49:42 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-10 12:15:10 -0700 |
commit | a6375062495441ad90901a1fbb87dd5f07f61ae2 (patch) | |
tree | 12e46332e3cadbc48c101a80efe86b75ab315d56 | |
parent | 9f1b2827cb88c58a80c470a4bddb2485677ec57f (diff) | |
download | c-ares-a6375062495441ad90901a1fbb87dd5f07f61ae2.tar.gz |
Use -Werror in external/c-ares
* Suppress warnings of unused variables/functions.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Iadaece59a919d9b17de97ab9b38a8ef40c563da4
-rw-r--r-- | Android.mk | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -18,7 +18,10 @@ include $(LOCAL_PATH)/Makefile.inc include $(CLEAR_VARS) LOCAL_MODULE := libcares -LOCAL_CFLAGS += -DHAVE_CONFIG_H +LOCAL_CFLAGS += -DHAVE_CONFIG_H \ + -Wall -Werror \ + -Wno-unused-function \ + -Wno-unused-variable LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) LOCAL_SRC_FILES := $(CSOURCES) include $(BUILD_SHARED_LIBRARY) |