phantomjs: don't need to disable superenv args.

Fixed in Homebrew/homebrew#28985.
master
Mike McQuaid 2014-05-08 13:23:18 +01:00
parent ce93cde3c0
commit ea1bf4cd0e
1 changed files with 0 additions and 3 deletions

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'