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>
This commit is contained in:
Bernhard Rosenkränzer
2014-11-24 03:02:03 +01:00
parent ff4dd15cd0
commit 57f637279a

View File

@@ -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)