summaryrefslogtreecommitdiff
path: root/media/mca
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2014-11-24 03:02:03 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2014-11-24 03:02:03 +0100
commit57f637279a5b53022cdf742e329303abcf5eccaa (patch)
treef7ba5c44846607a870569f50b8dca869425a58e1 /media/mca
parentff4dd15cd024f72cbd2b6d547356de030b2dd71c (diff)
Add -Wno-unused-parameter to LOCAL_CFLAGS
Some JNI functions ignore the JNI environment and class information, but still take the parameters -- causing a build failure with clang (and gcc with -Wextra enabled). Ignore this. Change-Id: I049fcf65991b19d2416fce105699311803b43cfc Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'media/mca')
-rw-r--r--media/mca/filterfw/jni/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mca/filterfw/jni/Android.mk b/media/mca/filterfw/jni/Android.mk
index 67337e03fe18..4ae32acc7891 100644
--- a/media/mca/filterfw/jni/Android.mk
+++ b/media/mca/filterfw/jni/Android.mk
@@ -47,7 +47,7 @@ LOCAL_C_INCLUDES += \
# part of a system image.
LOCAL_PRELINK_MODULE := false
-LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
+LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code -Wno-unused-parameter
include $(BUILD_STATIC_LIBRARY)