diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-11-15 22:52:10 +0100 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-11-15 22:52:10 +0100 |
commit | e62e64c00124fb5e5564b1719d29f97d5ce162d0 (patch) | |
tree | 0249a44e6d09d3c6e042dda427e0ec8116d4c0e8 | |
parent | ec969cccfe0eea049f93493ea08b35a8c1bbbd1c (diff) | |
download | native-e62e64c00124fb5e5564b1719d29f97d5ce162d0.tar.gz |
surfaceflinger: Work around aliasing violations
Change-Id: I22e758390c1312e60bb4adac2365be201ba6f161
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | services/surfaceflinger/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk index 20ba700517..ac7edd83e7 100644 --- a/services/surfaceflinger/Android.mk +++ b/services/surfaceflinger/Android.mk @@ -46,6 +46,9 @@ ifeq ($(BOARD_HAVE_HDMI_SUPPORT),SAMSUNG_HDMI_SUPPORT) LOCAL_CFLAGS += -DSAMSUNG_HDMI_SUPPORT endif +# HWComposer.cpp contains 2 pretty bad aliasing violations +LOCAL_CFLAGS += -fno-strict-aliasing + LOCAL_SHARED_LIBRARIES := \ libcutils \ libdl \ |