From 4c345dfe9c127a9727b4f90462f75529f231c624 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Fri, 29 Sep 2017 10:15:37 -0700 Subject: Use -Werror in external/libnfnetlink Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ic3489ec0baa9c9a405cdf94076306671b8aa7036 --- Android.bp | 7 +++++-- 1 file 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", ], } -- cgit v1.2.3