Patchwork [meta-oo,3/4] mplayer2: drop OPTIMIZATIONs for now

login
register
mail settings
Submitter Martin Jansa
Date Nov. 30, 2011, 8:06 a.m.
Message ID <f033335dc644faf6a03b4bc64cdeb78965c7c178.1322640244.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/15773/
State Rejected
Headers show

Comments

Martin Jansa - Nov. 30, 2011, 8:06 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
index c24cc4a..d6656fd 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
@@ -128,8 +128,11 @@  EXTRA_OECONF = " \
 	--extra-libs=' -lXext -lX11 -lBasicUsageEnvironment -lUsageEnvironment -lgroupsock -lliveMedia -lstdc++' \
 "
 
-FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math"
-BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
+# drop FULL_OPTIMIZATION for now, because gcc-4.6 got ICE with -O4 and -ffast-math now like in libvpx
+# http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-November/036001.html
+# but lowering to -O3 is not enough in this case
+# FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math"
+# BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
 
 CFLAGS_append = " -I${S}/libdvdread4 "