aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-12 22:43:59 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 22:43:59 +0000
commitb6efdfdd3129067e956611de19476dba9a9685e6 (patch)
tree3d0e36705faac87c2cf32b02a6a6fdf884d8c456
parentcb2411b42ff54467074a19cd3990b7fb3c43e628 (diff)
parent4c345dfe9c127a9727b4f90462f75529f231c624 (diff)
downloadlibnfnetlink-b6efdfdd3129067e956611de19476dba9a9685e6.tar.gz
Use -Werror in external/libnfnetlinkandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: 4c345dfe9c Change-Id: Icd47bd159fa93d65bc1f3f69d931e91fe107e6c1
-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",
],
}