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, 1 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 68d5d1424..398189790 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -48,7 +48,7 @@ class Go < Formula
cd 'src' do
targets.each do |os, archs|
- cgo_enabled = ((os == 'darwin') && build.with?('cgo')) ? "1" : "0"
+ cgo_enabled = os == 'darwin' && build.with?('cgo') ? "1" : "0"
archs.each do |arch|
ENV['GOROOT_FINAL'] = libexec
ENV['GOOS'] = os