diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/go.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index 3390fa913..9a9b0052b 100644 --- a/Library/Formula/go.rb +++ b/Library/Formula/go.rb @@ -20,19 +20,23 @@ class Go < Formula if build.include? 'cross-compile-all' targets = [ - ['darwin', ['386', 'amd64'], { :cgo => true }], ['linux', ['386', 'amd64', 'arm'], { :cgo => false }], ['freebsd', ['386', 'amd64'], { :cgo => false }], ['openbsd', ['386', 'amd64'], { :cgo => false }], ['windows', ['386', 'amd64'], { :cgo => false }], + + # Host platform (darwin/amd64) must always come last + ['darwin', ['386', 'amd64'], { :cgo => true }], ] elsif build.include? 'cross-compile-common' targets = [ - ['darwin', ['386', 'amd64'], { :cgo => true }], ['linux', ['386', 'amd64', 'arm'], { :cgo => false }], ['windows', ['386', 'amd64'], { :cgo => false }], + + # Host platform (darwin/amd64) must always come last + ['darwin', ['386', 'amd64'], { :cgo => true }], ] else targets = [ |
