go: depend on apple-gcc42 on >=10.8.
This commit is contained in:
parent
6b1759b102
commit
a85bae970c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue