aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2014-09-02 20:39:39 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-02 20:39:39 +0000
commite8ef8a0962dfd5d4cc0c2a45e5ea30042ee11843 (patch)
treed5fe5f977f9c8390e7d086cffbc8dcf7a902ed92
parent03baf5eab896198b5060d287af3fd60d360bf48f (diff)
parent0126efe78ed016528c623b8179b5df5b04542fb5 (diff)
downloadandroid_external_dhcpcd-e8ef8a0962dfd5d4cc0c2a45e5ea30042ee11843.tar.gz
android_external_dhcpcd-e8ef8a0962dfd5d4cc0c2a45e5ea30042ee11843.tar.bz2
android_external_dhcpcd-e8ef8a0962dfd5d4cc0c2a45e5ea30042ee11843.zip
Merge "Suppress warning on comparing array with null."
-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)