aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-03-04 08:42:56 -0800
committerMarco Nelissen <marcone@google.com>2014-03-04 08:42:56 -0800
commit25d371312cee1452a2adcf8b7f6cad6267bda32d (patch)
tree7867adf9005e824e98a00dd50f4dbf21883bb30f
parent785d0461f0a1c9428edc018bf147fa99fb09b942 (diff)
downloadlibexif-kitkat-mr2.2-release.tar.gz
b/12203995 Change-Id: Ie254ac8806178fb066ab77b09d89c730bf9e949b
-rw-r--r--libexif/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexif/Android.mk b/libexif/Android.mk
index 55cbee6..effa0c4 100644
--- a/libexif/Android.mk
+++ b/libexif/Android.mk
@@ -20,6 +20,8 @@ include $(CLEAR_VARS)
# WARNING: this makefile builds a shared library. Do not ever make it build
# a static library or otherwise statically link libexif with your code.
+LOCAL_CLANG := true
+
LOCAL_C_INCLUDES := \
$(TOP)/external/libexif
@@ -57,6 +59,8 @@ LOCAL_SHARED_LIBRARIES := \
libutils \
liblog
+LOCAL_CFLAGS += -ftrapv
+
include $(BUILD_SHARED_LIBRARY)
# WARNING: this makefile builds a shared library. Do not ever make it build