mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
go: use compiler from superenv.
This commit is contained in:
1 parent
3283962c84
commit
2dabfcdae5
1 file changed
-3
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user