summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srec/ca/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/srec/ca/Android.mk b/srec/ca/Android.mk
index 069ff3b..c5b978e 100644
--- a/srec/ca/Android.mk
+++ b/srec/ca/Android.mk
@@ -88,6 +88,8 @@ common_STATIC_LIBRARIES := \
common_TARGET:= libSR_Core
+# ca_cms.c:214:28: error: address of array 'hWave->data.channel->spchchan'
+# will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
# For the host
# =====================================================
@@ -105,6 +107,8 @@ LOCAL_MODULE := $(common_TARGET)
LOCAL_32_BIT_ONLY := true
+LOCAL_CLANG_CFLAGS += -Wno-pointer-bool-conversion
+
include $(BUILD_HOST_SHARED_LIBRARY)
@@ -119,4 +123,6 @@ LOCAL_CFLAGS += $(common_CFLAGS)
LOCAL_MODULE := $(common_TARGET)
+LOCAL_CLANG_CFLAGS += -Wno-pointer-bool-conversion
+
include $(BUILD_STATIC_LIBRARY)