summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-12 16:15:03 -0800
committerAndreas Gampe <agampe@google.com>2014-12-12 16:15:03 -0800
commit41ef3082fe544a2180eb48335f5f438c9702dd19 (patch)
tree2f0e957e3d5c42b51edd83ccd6916918fcfc8978
parent6619843f534ff130c8bcdad0567c5a9eeaca3f77 (diff)
downloadppp-41ef3082fe544a2180eb48335f5f438c9702dd19.tar.gz
Pppd: Disable unused-variable warning
For build-system CFLAGS clean-up, disable unused-variables warning. Bug: 18632512 Change-Id: Ibf8184e0a05492e322646b2d85dafdbc450ba5f1
-rw-r--r--pppd/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/pppd/Android.mk b/pppd/Android.mk
index 24b2247..0357182 100644
--- a/pppd/Android.mk
+++ b/pppd/Android.mk
@@ -38,6 +38,9 @@ LOCAL_C_INCLUDES := \
LOCAL_CFLAGS := -DCHAPMS=1 -DMPPE=1 -DINET6=1 -DUSE_OPENSSL=1 -Iexternal/openssl/include -Wno-unused-parameter -Wno-empty-body -Wno-missing-field-initializers -Wno-attributes -Wno-sign-compare -Wno-pointer-sign -Werror
+# Turn off warnings for now until this is fixed upstream. b/18632512
+LOCAL_CFLAGS += -Wno-unused-variable
+
LOCAL_MODULE:= pppd
include $(BUILD_EXECUTABLE)