summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 13:30:41 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-11 13:50:08 -0700
commit3730e97e5ffdb908e812d976b7182ad1abd74abc (patch)
tree718dcefddc5135f11eabea785fbc1f0efc5f3728
parent5df745ccb4ef5356a786bf63e075efd0ccaad333 (diff)
downloadnfacct-3730e97e5ffdb908e812d976b7182ad1abd74abc.tar.gz
Use -Werror in external/nfacct
* Suppress existing warnings. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I62efb233b1217a0e1808725c7b13650aaa5d10df
-rw-r--r--Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index d4664d4..c3d8283 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,6 +5,12 @@ include $(LOCAL_PATH)/android.config
INCLUDES = $(LOCAL_PATH)
INCLUDES += external/libnl/include
+LOCAL_CFLAGS := \
+ -Wall -Werror \
+ -Wno-format \
+ -Wno-unused-parameter \
+ -Wno-unused-variable \
+
ifdef HAVE_LIBNL20
LOCAL_CFLAGS += -DHAVE_LIBNL20
endif