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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user