aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-12 23:01:53 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 23:01:53 +0000
commitec6269c413d8170d30cc968339f4a8967d8a73ad (patch)
tree3d0e36705faac87c2cf32b02a6a6fdf884d8c456
parentcb2411b42ff54467074a19cd3990b7fb3c43e628 (diff)
parent6cbdd22ca73506f44b1a74b5882c65ece13617fc (diff)
downloadlibnfnetlink-ec6269c413d8170d30cc968339f4a8967d8a73ad.tar.gz
Use -Werror in external/libnfnetlink am: 4c345dfe9c am: b6efdfdd31 am: 994cc7fdad
am: 6cbdd22ca7 Change-Id: I495a15b385d12140887c8fcf649e7d8a739790b1
-rw-r--r--Android.bp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index bf41866..4a73168 100644
--- a/Android.bp
+++ b/Android.bp
@@ -8,8 +8,11 @@ cc_library_shared {
"src/rtnl.c",
],
cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wno-error=pointer-sign",
"-Wno-sign-compare",
- "-Wno-unused-parameter",
- "-Wno-pointer-arith",
+ "-Wno-unused-parameter",
+ "-Wno-pointer-arith",
],
}