aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurimas Liutikas <aurimas@google.com>2017-02-17 13:31:43 -0800
committerAurimas Liutikas <aurimas@google.com>2017-02-17 13:32:39 -0800
commit9f8f6f4ae3822bd2dad883cd1e44e0e72c7348c7 (patch)
tree47d27325ff992faf54c03f22d5ce16c64260159c
parent480621336eeac5ac52ad148adf16f1c227296542 (diff)
downloadplatform_external_iw-9f8f6f4ae3822bd2dad883cd1e44e0e72c7348c7.tar.gz
platform_external_iw-9f8f6f4ae3822bd2dad883cd1e44e0e72c7348c7.tar.bz2
platform_external_iw-9f8f6f4ae3822bd2dad883cd1e44e0e72c7348c7.zip
Disable more warnings in external/iwandroid-o-preview-1android-n-mr2-preview-2o-preview
Disable existing warnings and enable -Werror to prevent any regressions. Bug: 31434916 Test: make -j60 iw produces no warnings Change-Id: Ia7f69acefc1eea55fbeb609e0a48e261f62c8b44
-rw-r--r--Android.mk4
1 files changed, 3 insertions, 1 deletions
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