diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:14:45 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:20:31 -0700 |
commit | f7049aee8e7fd364ec7f7eecef20000a6036b373 (patch) | |
tree | d77a979129098429f887659ffe9053b5199418e6 | |
parent | b023a43765b15f0b0fd5b52b7d8021f515c59c23 (diff) | |
download | netcat-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.mk | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |