phantomjs: don't need to disable superenv args.

Fixed in Homebrew/homebrew#28985.
This commit is contained in:
Mike McQuaid 2014-05-08 13:23:18 +01:00
parent ce93cde3c0
commit ea1bf4cd0e

View file

@ -20,9 +20,6 @@ class Phantomjs < Formula
def install
inreplace 'src/qt/preconfig.sh', '-arch x86', '-arch x86_64' if MacOS.prefer_64_bit?
args = ['--confirm', '--qt-config']
# we have to disable these to avoid triggering Qt optimization code
# that will fail in superenv (in --env=std, Qt seems aware of this)
args << '-no-3dnow -no-ssse3' if superenv?
system './build.sh', *args
bin.install 'bin/phantomjs'
(share+'phantomjs').install 'examples'