diff options
author | Yi Kong <yikong@google.com> | 2018-01-03 12:48:31 -0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2018-01-03 12:48:31 -0800 |
commit | 731501919f2238a69947b416aa443c59dee38399 (patch) | |
tree | b3285baf97a80ef070ae4005130ca93e40dea7cb | |
parent | 9d31c1720e1a72553618a1a170d1becca8357208 (diff) | |
download | dhcpcd-6.8.2-731501919f2238a69947b416aa443c59dee38399.tar.gz |
Ignore -Wformat warningandroid-wear-8.0.0_r1android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7
Clang 6.0.1 update introduced a number of new warnings, failing
werror build. Ignore the -Wformat warning for external/dhcpcd-6.8.2.
Test: m checkbuild
Change-Id: Ia0624f0eedcf66c0c1ef6fa6479e895cf48d3662
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -78,6 +78,8 @@ LOCAL_CFLAGS += -Wno-sign-compare LOCAL_CFLAGS += -Wno-unused-parameter # Compiler complains about possibly uninitialized variables in rpc-dbus.c. LOCAL_CFLAGS += -Wno-maybe-uninitialized +# Compiler complains about incorrect format placeholders in dhcpcd.c. +LOCAL_CFLAGS += -Wno-format LOCAL_SHARED_LIBRARIES += libc libcutils libnetutils include $(BUILD_EXECUTABLE) |