summaryrefslogtreecommitdiff
path: root/packages/mplayer/mplayer_0.0+1.0rc2.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-10 21:23:01 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-10 21:23:01 +0000
commit9abaca9766e0056c5b78ad445f95ef5712459a96 (patch)
tree396881a675723e358bdf48ad2653376439d4f333 /packages/mplayer/mplayer_0.0+1.0rc2.bb
parent44b64c7d077ad1b2223a6b40503c46b9b98ef7de (diff)
mplayer 1.0rc2: turn on -O4 -ffast-math forcibly for a ~30% decoding speedup
Diffstat (limited to 'packages/mplayer/mplayer_0.0+1.0rc2.bb')
-rw-r--r--packages/mplayer/mplayer_0.0+1.0rc2.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/mplayer/mplayer_0.0+1.0rc2.bb b/packages/mplayer/mplayer_0.0+1.0rc2.bb
index d963ac03cf..ae8de7caf4 100644
--- a/packages/mplayer/mplayer_0.0+1.0rc2.bb
+++ b/packages/mplayer/mplayer_0.0+1.0rc2.bb
@@ -40,7 +40,7 @@ PACKAGE_ARCH_hx4700 = "hx4700"
RCONFLICTS_${PN} = "mplayer-atty"
RREPLACES_${PN} = "mplayer-atty"
-PR = "r6"
+PR = "r7"
PARALLEL_MAKE = ""
@@ -187,6 +187,10 @@ TARGET_CC_ARCH = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', '-march=iwmmxt
EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'iwmmxt', '--enable-pxa --enable-iwmmxt', '',d)} "
EXTRA_OECONF_append = " ${@base_contains('MACHINE_FEATURES', 'x86', '--enable-runtime-cpudetection', '',d)} "
+FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O4 -ffast-math"
+BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
+
+
do_configure() {
cp ${WORKDIR}/vo_w100.c ${S}/libvo
cp ${WORKDIR}/vo_w100_api.h ${S}/libvo