skia: Use -fno-strict-aliasing for now
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/Android.mk b/Android.mk
index 68fd312..7a83cd0 100644
--- a/Android.mk
+++ b/Android.mk
@@ -502,6 +502,11 @@
$(LOCAL_PATH)/include/ports \
$(LOCAL_PATH)/include/utils
+# FIXME this should really be limited to files that need it, such as
+# src/utils/SkCamera.cpp -- pretty bad violations going on in there,
+# but most of the rest of skia is good
+LOCAL_CFLAGS += -fno-strict-aliasing
+
LOCAL_LDLIBS += -lpthread
LOCAL_MODULE:= libskia