aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2015-08-10 17:07:57 -0700
committerYang Ni <yangni@google.com>2015-08-10 17:07:57 -0700
commit2d641c160198a198669c3d25d62a6b09afc0cb57 (patch)
tree333a3f378d138bb772cc266d7e5cea7d55497057
parent43a3f2149b5d3417cc5dc843032ecf05a890c147 (diff)
downloadopencv3-2d641c160198a198669c3d25d62a6b09afc0cb57.tar.gz
Fixed compilation error on 3rdparty of opencv3
Change-Id: Ia02695dbe204544c73d4a1f34a8ccc92022737c8
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index cdaa9f4..02d891b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -314,7 +314,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_RTTI_FLAG := -frtti
-LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_PNM_SUPPORT -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT
+LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_PNM_SUPPORT -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT -w
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/3rdparty/libjasper \
@@ -441,7 +441,7 @@ LOCAL_RTTI_FLAG := -frtti
LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -lz
-LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%)
+LOCAL_CFLAGS := $(LOCAL_C_INCLUDES:%=-I%) -w
LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/3rdparty/libtiff \