diff options
| author | Jack Nagel | 2012-07-10 21:01:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-25 12:04:42 -0500 |
| commit | a18f853679fd7755b280f99bd8cbb86ef9e9ca54 (patch) | |
| tree | 4634ffc1bdf708a392c756396e82b399e7394f46 /Library/Formula | |
| parent | 6a799703552cd75a4333e01da378fbbd03a3dff8 (diff) | |
| download | homebrew-a18f853679fd7755b280f99bd8cbb86ef9e9ca54.tar.bz2 | |
Add MacOS::Xcode.provides_gcc?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gmp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index e09489d6b..d710591a2 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -19,7 +19,7 @@ class Gmp < Formula # Also force use of 4.2 on 10.6 in case a user has changed the default # Do not force if xcode > 4.2 since it does not have /usr/bin/gcc-4.2 as default # FIXME convert this to appropriate fails_with annotations - ENV.gcc unless MacOS::Xcode.version >= '4.2' + ENV.gcc if MacOS::Xcode.provides_gcc? args = %W[--prefix=#{prefix} --enable-cxx] |
