aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2014-09-02 12:10:07 -0700
committerChih-Hung Hsieh <chh@google.com>2014-09-02 12:10:07 -0700
commit0126efe78ed016528c623b8179b5df5b04542fb5 (patch)
treed5fe5f977f9c8390e7d086cffbc8dcf7a902ed92
parent03baf5eab896198b5060d287af3fd60d360bf48f (diff)
downloadandroid_external_dhcpcd-0126efe78ed016528c623b8179b5df5b04542fb5.tar.gz
android_external_dhcpcd-0126efe78ed016528c623b8179b5df5b04542fb5.tar.bz2
android_external_dhcpcd-0126efe78ed016528c623b8179b5df5b04542fb5.zip
Suppress warning on comparing array with null.
BUG: 17356808 Change-Id: Iecd7c9407e388530a098681fcedb8f18c2ba5b38
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 6b55f0d..4170e16 100644
--- a/Android.mk
+++ b/Android.mk
@@ -11,6 +11,8 @@ LOCAL_SRC_FILES := arp.c bind.c common.c control.c dhcp.c dhcpcd.c duid.c \
if-linux.c if-linux-wireless.c lpf.c \
platform-linux.c compat/closefrom.c ifaddrs.c ipv6rs.c
+# Clang complains about configure.c's comparing array with null.
+LOCAL_CFLAGS += -Wno-tautological-pointer-compare
LOCAL_SHARED_LIBRARIES := libc libcutils libnetutils
LOCAL_MODULE = dhcpcd
include $(BUILD_EXECUTABLE)