mplayer: remove old workarounds

These appear to be superflous in both superenv and stdenv; revert this
if it breaks the build somewhere but the circumstances need to be better
documented.
This commit is contained in:
Jack Nagel 2013-11-12 18:30:05 -06:00
parent 8244b39981
commit 3e115677ea

View file

@ -41,13 +41,7 @@ class Mplayer < Formula
end
def install
# (A) Do not use pipes, per bug report and MacPorts
# * https://github.com/mxcl/homebrew/issues/622
# * http://trac.macports.org/browser/trunk/dports/multimedia/mplayer-devel/Portfile
# (B) Any kind of optimisation breaks the build
# (C) It turns out that ENV.O1 fixes link errors with llvm.
ENV['CFLAGS'] = ''
ENV['CXXFLAGS'] = ''
# It turns out that ENV.O1 fixes link errors with llvm.
ENV.O1 if ENV.compiler == :llvm
# we disable cdparanoia because homebrew's version is hacked to work on OS X