tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Building MPlayer without runtime cpu detection



Good day,

In multimedia/mplayer-share/Makefile.cflags r1.4 abs@ removed the
.else clause that 'Let "configure" do its thing"'.  This stops MPlayer
configure script from autodetecting optimization flags -- the script
only does this if CFLAGS environment variable is empty or unset.

If mplayer-runtime-cpudetection and mplayer-default-cflags options are
unset, you'd expect to get best available optimization, which currently
doesn't work.

Proposed fix:

--- multimedia/mplayer-share/Makefile.cflags    8 Feb 2008 10:17:26 -0000       
1.5
+++ multimedia/mplayer-share/Makefile.cflags    7 Jan 2009 14:44:24 -0000
@@ -21,4 +21,6 @@
 .  else
 CFLAGS+=       -O3 -ffast-math -fomit-frame-pointer
 .  endif
+.else
+CFLAGS=                # Let "configure" do its thing.
 .endif

--
Sergey Svishchev

Attachment: pgp1AvRqR4f43.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index