summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-04 17:12:37 -0800
committerAndreas Gampe <agampe@google.com>2014-12-04 17:12:37 -0800
commit9fa2fcc839c4e9bdb8ea72193cedc51d01bf07bc (patch)
tree1b40eb4bba0e8a91dd64e8769708898c2ea86b34
parentcd2c0b6ce2e39a9ab13c802c5b8dfeb1ab0d1db5 (diff)
downloadsrtp-9fa2fcc839c4e9bdb8ea72193cedc51d01bf07bc.tar.gz
Srtp: Turn off unused-but-set-variable warning
For build-system CFLAGS clean-up, turn off warning. Change-Id: Ia678d0668142d34b7c512d48347a71648f01ac9d
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 569c802..0b49873 100644
--- a/Android.mk
+++ b/Android.mk
@@ -36,6 +36,10 @@ common_CFLAGS := \
-Wno-missing-field-initializers \
-Wno-unused-parameter
+ifneq ($(LOCAL_CLANG),true)
+ common_CFLAGS += -Wno-unused-but-set-variable
+endif
+
common_C_INCLUDES = $(LOCAL_PATH)/include
# For the device