Skip to content

Commit

Permalink
go: only patch if stable build.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Oct 30, 2013
1 parent 5268106 commit 877b1ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/go.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Go < Formula
# Upstream patch for a switch statement that causes a clang error
# Should be in the next release.
# http://code.google.com/p/go/source/detail?r=000ecca1178d67c9b482d3fb0b6a1bc4aeef2472&path=/src/cmd/ld/lib.c
def patches; DATA; end unless build.devel? or build.head?
def patches; DATA; end if build.stable?

def install
# For Clang cgo support Go needs to be able to tell through CC.
Expand Down Expand Up @@ -157,5 +157,5 @@ def caveats
+ break;
}
if(!debug['s'] && !debug_s) {
argv[argc++] = "-gdwarf-2";
argv[argc++] = "-gdwarf-2";

0 comments on commit 877b1ad

Please sign in to comment.