Permalink
Browse files

gmp - force GCC 4.2. Fixes #2302

  • Loading branch information...
1 parent d995eb7 commit dd2cedcf29e405f76838fe02af0739b390710af0 @adamv adamv committed Oct 17, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 Library/Formula/gmp.rb
@@ -13,6 +13,10 @@ def options
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"]

0 comments on commit dd2cedc

Please sign in to comment.