Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57f63727 authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer
Browse files

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: default avatarBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
parent ff4dd15c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -47,7 +47,7 @@ LOCAL_C_INCLUDES += \
# part of a system image.
# part of a system image.
LOCAL_PRELINK_MODULE := false
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)
include $(BUILD_STATIC_LIBRARY)