aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2017-01-26 00:47:01 -0800
committerStephen Hines <srhines@google.com>2017-01-26 00:47:01 -0800
commit8078d44a50355a2bc9e63c7686fb95f90e28fcda (patch)
tree923ff06976cfe16d826713eecc891d9d73b4063d
parente6c704418c094bd36b38cd96a7d06ff7209a2dcb (diff)
downloadtcpdump-8078d44a50355a2bc9e63c7686fb95f90e28fcda.tar.gz
Revert "Revert "Disable -Waddress-of-packed-member temporarily.""
This reverts commit de316a74fd243730c12b16cc37c880730062d2ad. Bug: http://b/31532493 Test: Manual validation
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index bd6d573e..becd082f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -166,6 +166,8 @@ LOCAL_CFLAGS += -D_BSD_SOURCE
LOCAL_CFLAGS += -DHAVE_CONFIG_H
LOCAL_CFLAGS += -D_U_="__attribute__((unused))"
LOCAL_CFLAGS += -Werror
+# http://b/33566695
+LOCAL_CFLAGS += -Wno-address-of-packed-member
LOCAL_SHARED_LIBRARIES += libssl libcrypto libpcap
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug