diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:30:41 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:50:08 -0700 |
commit | 3730e97e5ffdb908e812d976b7182ad1abd74abc (patch) | |
tree | 718dcefddc5135f11eabea785fbc1f0efc5f3728 | |
parent | 5df745ccb4ef5356a786bf63e075efd0ccaad333 (diff) | |
download | nfacct-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.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |