summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-09-29 10:17:10 -0700
committerChih-Hung Hsieh <chh@google.com>2017-09-29 10:17:37 -0700
commit6822e39f556cc7034a73a5d9fbd767217f31a36c (patch)
treebf913a90f515b17fd9c71a0d8e3c86273720d12e
parented2f4fe16617ec81b4cd906e681051ff0ae9d3df (diff)
downloadlibnl-6822e39f556cc7034a73a5d9fbd767217f31a36c.tar.gz
Use -Werror in external/libnl
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ic8a253d601f3e7c1ed04334ed0909e2cc5ce66dc
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index f7b0a106..7205e1b4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -41,6 +41,8 @@ cc_library {
export_include_dirs: ["include"],
cflags: [
"-D_BSD_SOURCE",
+ "-Wall",
+ "-Werror",
"-Wno-unused-parameter",
"-Wno-sign-compare",
"-Wno-missing-field-initializers",