From 9f8f6f4ae3822bd2dad883cd1e44e0e72c7348c7 Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Fri, 17 Feb 2017 13:31:43 -0800 Subject: Disable more warnings in external/iw Disable existing warnings and enable -Werror to prevent any regressions. Bug: 31434916 Test: make -j60 iw produces no warnings Change-Id: Ia7f69acefc1eea55fbeb609e0a48e261f62c8b44 --- Android.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Android.mk b/Android.mk index 700d516..bd5fa96 100644 --- a/Android.mk +++ b/Android.mk @@ -15,7 +15,9 @@ LOCAL_CFLAGS += -D_GNU_SOURCE -DCONFIG_LIBNL20 # Silence some warnings for now. Needs to be fixed upstream. b/26105799 LOCAL_CFLAGS += -Wno-unused-parameter \ -Wno-sign-compare \ - -Wno-format + -Wno-format \ + -Wno-absolute-value \ + -Werror LOCAL_CLANG_CFLAGS += -Wno-enum-conversion LOCAL_LDFLAGS := -Wl,--no-gc-sections -- cgit v1.2.3