freetype: Build with -fno-strict-aliasing
Freetype's code is not quite ready to be built with strict
aliasing rules enforced.
Add -fno-strict-aliasing here so we can disable the global
-fno-strict-aliasing bit.
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
diff --git a/Android.mk b/Android.mk
index 51ae31b..bc15d5c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -43,6 +43,7 @@
LOCAL_CFLAGS += -fPIC -DPIC
LOCAL_CFLAGS += "-DDARWIN_NO_CARBON"
LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY"
+LOCAL_CFLAGS += -fno-strict-aliasing
# the following is for testing only, and should not be used in final builds
# of the product