aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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