summaryrefslogtreecommitdiff
path: root/mplayer/Pkgfile
diff options
context:
space:
mode:
authorBrett Goulder <predatorfreak@dcaf-security.org>2008-03-22 21:01:12 -0400
committerBrett Goulder <predatorfreak@dcaf-security.org>2008-03-22 21:01:12 -0400
commitf4a76233cb4eb453a3682c2c245b378fb6c0b318 (patch)
treeb5f429489a85de0b0866bccbcb63fac46c99d850 /mplayer/Pkgfile
parent7583f1c99339c3738ead5063dbb96431b1c1c82a (diff)
downloadopt-f4a76233cb4eb453a3682c2c245b378fb6c0b318.tar.gz
opt-f4a76233cb4eb453a3682c2c245b378fb6c0b318.tar.xz
mplayer: Utilise user CFLAGS, but keep in line with mplayer optimisation choices.
Diffstat (limited to 'mplayer/Pkgfile')
-rw-r--r--mplayer/Pkgfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/mplayer/Pkgfile b/mplayer/Pkgfile
index 159fd3f0a..937d1e1a8 100644
--- a/mplayer/Pkgfile
+++ b/mplayer/Pkgfile
@@ -12,7 +12,7 @@
name=mplayer
version=1.0rc2-r26172
-release=1
+release=2
source=(http://crux.nu/files/distfiles/$name-r26172.tar.bz2
http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 \
mplayer.conf)
@@ -20,8 +20,8 @@ source=(http://crux.nu/files/distfiles/$name-r26172.tar.bz2
build() {
cd $name
- # mplayer decides optimizations at configure time, don't use CRUX's
- unset CFLAGS
+ # Keep in line with mplayer CFLAGS, but allow people to set their own march/mtune values.
+ export CFLAGS="$(echo $CFLAGS | sed -e 's/-O[s0-3]/-O3/') -ffast-math -fomit-frame-pointer"
./configure --prefix=/usr \
--mandir=/usr/man \
--win32codecsdir=/usr/lib/win32 \

Generated by cgit