aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-08-06 22:54:04 -0700
committerMike McQuaid2013-08-06 22:54:12 -0700
commitd54d3f34890e2b601b78ed36ec5a927b3eed0c6f (patch)
tree85c7512ecfbaa5d949cf63ec0a6e942839ea0406 /Library/Formula
parent758cbf0ccc9d433795290bf392c093aaa605ec91 (diff)
downloadhomebrew-d54d3f34890e2b601b78ed36ec5a927b3eed0c6f.tar.bz2
qt: don't use SSSE3 with superenv.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index 266636fd8..f0471a1d8 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -34,13 +34,13 @@ class Qt < Formula
"-confirm-license", "-opensource",
"-cocoa", "-fast" ]
- # we have to disable 3DNow! to avoid triggering optimization code
- # that will fail with clang. Only seems to occur in superenv, perhaps
- # because we rename clang to cc and Qt thinks it can build with special
- # assembler commands. In --env=std, Qt seems aware of this.)
+ # we have to disable these to avoid triggering optimization code
+ # that will fail in superenv, perhaps because we rename clang to cc and
+ # Qt thinks it can build with special assembler commands.
+ # In --env=std, Qt seems aware of this.)
# But we want superenv, because it allows to build Qt in non-standard
# locations and with Xcode-only.
- args << "-no-3dnow" if superenv?
+ args << "-no-3dnow" << "-no-ssse3" if superenv?
args << "-L#{MacOS::X11.lib}" << "-I#{MacOS::X11.include}" if MacOS::X11.installed?