aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gmp.rb
diff options
context:
space:
mode:
authorAlexander Corrado2011-03-06 03:13:58 -0800
committerAdam Vandenberg2011-03-06 16:29:13 -0800
commit736580f1cfee4730798d36efbad603de39e2011d (patch)
tree4619e9f9877720ce6b27e919b1b4d5c2b993edb5 /Library/Formula/gmp.rb
parentbe4f33daa926d678cb7383fc86ee2c01711e2a91 (diff)
downloadhomebrew-736580f1cfee4730798d36efbad603de39e2011d.tar.bz2
gmp - need to force GCC 4.2 on 10.6 as well
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/gmp.rb')
-rw-r--r--Library/Formula/gmp.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index 4691900cc..ed584829f 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -15,7 +15,8 @@ class Gmp <Formula
def install
# Reports of problems using gcc 4.0 on Leopard
# https://github.com/mxcl/homebrew/issues/issue/2302
- ENV.gcc_4_2 if MACOS_VERSION < 10.6
+ # Also force use of 4.2 on 10.6 in case a user has changed the default
+ ENV.gcc_4_2
fails_with_llvm "Tests fail to compile; missing references in 'llvm bitcode in libtests.a(misc.o)'."