diff options
| author | Mike McQuaid | 2013-10-30 09:36:07 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-10-30 09:36:07 -0700 |
| commit | ff1081e90043998dba22c6417f072a4b2c9031dc (patch) | |
| tree | 4ff5c4386445091f181de4cd2770b4964b7bf958 /Library | |
| parent | 38e3b1797af201589cdf0824f5979f1d966b0cd2 (diff) | |
| download | homebrew-ff1081e90043998dba22c6417f072a4b2c9031dc.tar.bz2 | |
go: only patch if stable build.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/go.rb | 4 |
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"; |
