summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 23:16:21 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-11 23:16:21 +0000
commit63984e2c9b07a669b589a3b1a0c09f3ae27b6ae6 (patch)
tree718dcefddc5135f11eabea785fbc1f0efc5f3728
parent5df745ccb4ef5356a786bf63e075efd0ccaad333 (diff)
parente3c0e3cb33d5e13994cb1404e27a7bf2d2564c00 (diff)
downloadnfacct-63984e2c9b07a669b589a3b1a0c09f3ae27b6ae6.tar.gz
Use -Werror in external/nfacct am: 3730e97e5f
am: e3c0e3cb33 Change-Id: I0521800642aec0476830efe6e75c0c378272e32a
-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