aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-10-30 09:36:07 -0700
committerMike McQuaid2013-10-30 09:36:07 -0700
commitff1081e90043998dba22c6417f072a4b2c9031dc (patch)
tree4ff5c4386445091f181de4cd2770b4964b7bf958 /Library
parent38e3b1797af201589cdf0824f5979f1d966b0cd2 (diff)
downloadhomebrew-ff1081e90043998dba22c6417f072a4b2c9031dc.tar.bz2
go: only patch if stable build.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/go.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 06c328729..a80b1dbe6 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -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.
@@ -157,5 +157,5 @@ diff -r 02b673333fab -r 000ecca1178d src/cmd/ld/lib.c
+ break;
}
if(!debug['s'] && !debug_s) {
- argv[argc++] = "-gdwarf-2";
+ argv[argc++] = "-gdwarf-2";