summaryrefslogtreecommitdiffstats
path: root/minzip/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'minzip/Android.mk')
-rw-r--r--minzip/Android.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/minzip/Android.mk b/minzip/Android.mk
index ad976e796..957ab0b29 100644
--- a/minzip/Android.mk
+++ b/minzip/Android.mk
@@ -22,9 +22,12 @@ LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
LOCAL_MODULE := libminzip
-LOCAL_CFLAGS += -Wall
LOCAL_SHARED_LIBRARIES += libz
+LOCAL_CLANG := true
+
+LOCAL_CFLAGS += -Werror -Wall
+
include $(BUILD_SHARED_LIBRARY)
@@ -47,9 +50,14 @@ LOCAL_STATIC_LIBRARIES += libselinux
LOCAL_CFLAGS += -DHAVE_SELINUX
endif
+LOCAL_CFLAGS += -DPLATFORM_SDK_VERSION=$(PLATFORM_SDK_VERSION)
+
LOCAL_MODULE := libminzip
-LOCAL_CFLAGS += -Wall
LOCAL_STATIC_LIBRARIES += libz
+LOCAL_CLANG := true
+
+LOCAL_CFLAGS += -Werror -Wall
+
include $(BUILD_STATIC_LIBRARY)