summaryrefslogtreecommitdiffstats
path: root/mtp/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mtp/Android.mk')
-rw-r--r--mtp/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtp/Android.mk b/mtp/Android.mk
index 32518d3fa..43649f794 100644
--- a/mtp/Android.mk
+++ b/mtp/Android.mk
@@ -5,7 +5,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libtwrpmtp
LOCAL_MODULE_TAGS := optional
-LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DMTP_DEVICE -DMTP_HOST -fno-strict-aliasing
+LOCAL_CFLAGS = -D_FILE_OFFSET_BITS=64 -DMTP_DEVICE -DMTP_HOST -fno-strict-aliasing -Wno-unused-variable -Wno-format -Wno-unused-parameter -Wno-unused-private-field
LOCAL_C_INCLUDES += $(LOCAL_PATH) bionic frameworks/base/include system/core/include bionic/libc/private/
ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 23; echo $$?),0)
LOCAL_C_INCLUDES += external/stlport/stlport