summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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