summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 23:29:29 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-11 23:29:29 +0000
commit197aa74ff48c75a84d7169e840f7d87c7b367579 (patch)
tree718dcefddc5135f11eabea785fbc1f0efc5f3728
parent5df745ccb4ef5356a786bf63e075efd0ccaad333 (diff)
parent63984e2c9b07a669b589a3b1a0c09f3ae27b6ae6 (diff)
downloadnfacct-197aa74ff48c75a84d7169e840f7d87c7b367579.tar.gz
Use -Werror in external/nfacct am: 3730e97e5f am: e3c0e3cb33android-wear-p-preview-2
am: 63984e2c9b Change-Id: Icb5a4626b860167edf9d1a531626710565203fac
-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