diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2013-07-25 13:22:59 +0530 |
---|---|---|
committer | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2013-10-15 22:14:21 +0200 |
commit | f2ea50bbb4c69492830ede6ea457103045f697a6 (patch) | |
tree | 637fae72c4b393716ca846bfa66cefcd4e8684dd | |
parent | 6a4f214ce2f46311dc414efdea7066e99721379b (diff) | |
download | native-f2ea50bbb4c69492830ede6ea457103045f697a6.tar.gz |
surfaceflinger: Work around aliasing violations
Signed-off-by: Amit Pundir <amit.pundir@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 ec296d333f..10a5b68ca8 100644 --- a/services/surfaceflinger/Android.mk +++ b/services/surfaceflinger/Android.mk @@ -41,6 +41,9 @@ ifneq ($(NUM_FRAMEBUFFER_SURFACE_BUFFERS),) LOCAL_CFLAGS += -DNUM_FRAMEBUFFER_SURFACE_BUFFERS=$(NUM_FRAMEBUFFER_SURFACE_BUFFERS) endif +# HWComposer.cpp contains 2 pretty bad aliasing violations +LOCAL_CFLAGS += -fno-strict-aliasing + LOCAL_SHARED_LIBRARIES := \ libcutils \ liblog \ |