aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-09-25 00:42:52 +0100
committerMike McQuaid2013-09-27 08:17:47 +0100
commit50ce9941e39317e2482d214dcdcd96031f00fe50 (patch)
treee09ccdef5d5101d08f6047d5380533eebb6b8ace /Library/Formula
parentc2a8ff8ae7a7d5242824e9229c6ee301debd70c2 (diff)
downloadhomebrew-50ce9941e39317e2482d214dcdcd96031f00fe50.tar.bz2
go: depend on apple-gcc42 on >=10.8.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/go.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index dac21b1fd..5eee369f6 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -21,6 +21,8 @@ class Go < Formula
# NOTE it is ridiculous that we put this stuff in the class
# definition, it needs to be in a pre-install test function!
if build.with? 'cgo'
+ depends_on 'apple-gcc42' if MacOS.version >= :mountain_lion
+
fails_with :clang do
cause "clang: error: no such file or directory: 'libgcc.a'"
end