summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 13:14:45 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-11 13:20:31 -0700
commitf7049aee8e7fd364ec7f7eecef20000a6036b373 (patch)
treed77a979129098429f887659ffe9053b5199418e6
parentb023a43765b15f0b0fd5b52b7d8021f515c59c23 (diff)
downloadnetcat-f7049aee8e7fd364ec7f7eecef20000a6036b373.tar.gz
Use -Werror in external/netcat
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I61b266c4b7a97c689264a88e93a33908e721ec3a
-rw-r--r--Android.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 3034bca..0636929 100644
--- a/Android.mk
+++ b/Android.mk
@@ -6,7 +6,13 @@ LOCAL_SRC_FILES:=\
atomicio.c
-LOCAL_CFLAGS:=-O2 -g
+LOCAL_CFLAGS:= \
+ -O2 -g \
+ -Wall -Werror \
+ -Wno-deprecated-declarations \
+ -Wno-sign-compare \
+ -Wno-unused-variable \
+
#LOCAL_CFLAGS+=-DLINUX
LOCAL_MODULE_TAGS := eng