diff options
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-01-08 23:11:06 +0059 |
---|---|---|
committer | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | 2012-01-08 23:11:06 +0059 |
commit | ab5c8c92d74450eac52cb1916d76de67acce8b01 (patch) | |
tree | 56e282becbd5d2836f0aba31f11c30e8ad066cfe | |
parent | e974710d141147808ef9392948f3575db440a823 (diff) | |
download | tremolo-linaro_android_4.0.3.tar.gz |
Tremolo: Add workaround for gcc-linaro bug 913528/gcc bug 51794linaro_android_4.0.4linaro_android_4.0.3
This adds the -fno-modulo-sched compiler flag (if supported)
to prevent gcc from segfaulting.
This should be reverted once the bug is fixed properly in gcc.
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r-- | Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ ifeq ($(findstring -O, $(TARGET_GLOBAL_CFLAGS)),) LOCAL_CFLAGS+= -O2 endif +# Workaround for linaro-gcc bug 913528/upstream gcc bug 51794 +LOCAL_CFLAGS+=$(call cc-option -fno-modulo-sched) + LOCAL_C_INCLUDES:= \ $(LOCAL_PATH)/Tremolo |