summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-12-05 01:19:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-05 01:19:05 +0000
commit524f49e20154bddc6edecfa3376cad3e0169ff86 (patch)
tree1b40eb4bba0e8a91dd64e8769708898c2ea86b34
parentcd2c0b6ce2e39a9ab13c802c5b8dfeb1ab0d1db5 (diff)
parent9fa2fcc839c4e9bdb8ea72193cedc51d01bf07bc (diff)
downloadsrtp-524f49e20154bddc6edecfa3376cad3e0169ff86.tar.gz
Merge "Srtp: Turn off unused-but-set-variable warning"android-wear-5.0.0_r1lollipop-wear-release
-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