diff options
| author | Adam Vandenberg | 2009-09-04 09:46:53 -0700 |
|---|---|---|
| committer | Max Howell | 2009-09-04 18:54:43 +0100 |
| commit | ef88db9d386a55cc22576b60cddafed1f1de5974 (patch) | |
| tree | 28d5dafe90d2db74121e5dcfa1e248fcf993e076 /bin | |
| parent | ee0459a087bc8ce86b766c4b46f1fa93c74db458 (diff) | |
| download | brew-ef88db9d386a55cc22576b60cddafed1f1de5974.tar.bz2 | |
Nehalem supports SSE4.2
Signed Off By: Max Howell <max@methylblue.com>
I realised that -msse4.1 and -msse4.2 aren't supported by GCC 4.0, so I made
the brash decision that we require GCC 4.2. It comes with Xcode 3.1 so people
can upgrade if they have to.
Requiring a single compiler is better for us anyway -- less possible errors
and failures.
Formulae can still request gcc-4.0.1, but at least then those formulae still
only use a single compiler and not possibly two.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,7 +34,9 @@ end if Hardware.cpu_type == :ppc or Hardware.cpu_type == :dunno abort "Sorry, Homebrew does not support your computer's CPU architecture." end - +unless system "which gcc-4.2 &> /dev/null" and $?.success? + abort "Sorry, Homebrew requires gcc 4.2, which is provided by Xcode 3.1" +end begin case ARGV.shift |
