summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2016-06-28 16:07:53 -0700
committerPirama Arumuga Nainar <pirama@google.com>2016-07-19 20:29:05 +0000
commit6fbbc4cdfa9efdbcb3171346d41b0f61a58d08b0 (patch)
tree45725c13b7e0f3ddf178c14c0e2062f5ce1b8479 /debuggerd
parent5558cd362b475f2c32010d4c4a6935d6dd4e308c (diff)
downloadsystem_core-6fbbc4cdfa9efdbcb3171346d41b0f61a58d08b0.tar.gz
system_core-6fbbc4cdfa9efdbcb3171346d41b0f61a58d08b0.tar.bz2
system_core-6fbbc4cdfa9efdbcb3171346d41b0f61a58d08b0.zip
Disable warnings triggered in Clang r271374
http://b/28149048 http://b/29823425 Disable -Wvarargs that gets triggered in system/core/debuggerd/test/ptrace_fake.cpp:ptrace_fake. The second bug above tracks that this warning gets re-enabled. Test: Tested build, boot and common usage for Arm, Arm64, x86, x86_64, Mips images in AOSP and internal branch. Change-Id: Ife68675a77431bcc4717b4da297c14dc486d1413
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk
index 19c729824..fdedb767e 100644
--- a/debuggerd/Android.mk
+++ b/debuggerd/Android.mk
@@ -130,6 +130,9 @@ debuggerd_cpp_flags := \
-Wno-missing-field-initializers \
-fno-rtti \
+# Bug: http://b/29823425 Disable -Wvarargs for Clang update to r271374
+debuggerd_cpp_flags += -Wno-varargs
+
# Only build the host tests on linux.
ifeq ($(HOST_OS),linux)