go: use compiler from superenv.

This commit is contained in:
Mike McQuaid committed 2013-11-07 12:06:07 +00:00
1 parent 3283962c84
commit 2dabfcdae5
1 file changed
-3
-3
View File
@@ -37,9 +37,6 @@ class Go < Formula
def patches; DATA; end if build.stable?
def install
# For Clang cgo support Go needs to be able to tell through CC.
ENV['CC'] = 'clang' if build.devel? and ENV.compiler == :clang
# install the completion scripts
bash_completion.install 'misc/bash/go' => 'go-completion.bash'
zsh_completion.install 'misc/zsh/go' => 'go'