aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--videocodec/libvpx_internal/libvpx.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/videocodec/libvpx_internal/libvpx.mk b/videocodec/libvpx_internal/libvpx.mk
index 461f683..633c848 100644
--- a/videocodec/libvpx_internal/libvpx.mk
+++ b/videocodec/libvpx_internal/libvpx.mk
@@ -42,6 +42,10 @@ libvpx_codec_srcs := $(shell cat $(libvpx_config_dir)/libvpx_srcs.txt)
LOCAL_SHARED_LIBRARIES += liblog
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
LOCAL_CFLAGS := -DHAVE_CONFIG_H=vpx_config.h
+
+# Static functions declared in headers. b/18632512
+LOCAL_CFLAGS += -Wno-unused-function
+
LOCAL_CFLAGS += -Werror
LOCAL_MODULE := libvpx_internal