mxcl/homebrew — pull request #24438 by nonrational (2013-11-18 16:31:13+00:00)
Title: disable sse3 optimization that breaks qtWebKit compliation on haswell

attn @mikemcquaid

If not pouring via the bottle, building phantomjs requires building its qtWebKit which fails on the new Haswell MBPs. Note that [the qt formula has also disabled sse3](https://github.com/mxcl/homebrew/blob/c8736d8cabf8442164fcd05c5cc05b0f4489a65b/Library/Formula/qt.rb#L85-L94) optimizations due to this issue. We _could_ be smarter about disabling sse3 (see below) but it seemed like overkill, especially since people will most likely be installing via the bottle.

```ruby
require 'hardware'
...
if MacOS.version < :lion || Hardware::CPU.family == :haswell
args << '-no-ssse3'
end
```