diff options
| author | Adam Vandenberg | 2010-10-17 16:31:01 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-17 16:31:01 -0700 |
| commit | dd2cedcf29e405f76838fe02af0739b390710af0 (patch) | |
| tree | 27ed842e152b737d0673ce3f5a549d291a820429 | |
| parent | d995eb7d5d256c7b13bb7ecea510e08f90aba54e (diff) | |
| download | homebrew-dd2cedcf29e405f76838fe02af0739b390710af0.tar.bz2 | |
gmp - force GCC 4.2. Fixes #2302
| -rw-r--r-- | Library/Formula/gmp.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index a37d4fd23..432446508 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -13,6 +13,10 @@ class Gmp <Formula end def install + # Reports of problems using gcc 4.0 on Leopard + # http://github.com/mxcl/homebrew/issues/issue/2302 + ENV.gcc_4_2 if MACOS_VERSION < 10.6 + fails_with_llvm "Tests fail to compile; missing references in 'llvm bitcode in libtests.a(misc.o)'." args = ["--prefix=#{prefix}", "--infodir=#{info}", "--enable-cxx"] |
