summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2014-08-07 15:05:20 -0700
committerIan Lance Taylor <iant@golang.org>2014-08-07 15:05:20 -0700
commitfbba49f6c2119f686a08bb87d2ba30d1ec37ea64 (patch)
tree8e5c0d36e310446fcf86e4c5c20557007958abac /src
parentd7592d34609d1d9984f9fce874ac737ede817d90 (diff)
downloadgo-fbba49f6c2119f686a08bb87d2ba30d1ec37ea64.tar.gz
cmd/go: don't pass --buildid=none on OpenBSD
According to the OpenBSD builder, it doesn't work. TBR=bradfitz CC=golang-codereviews https://codereview.appspot.com/126830043
Diffstat (limited to 'src')
-rw-r--r--src/cmd/go/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go
index 88c2e2949..00df6b291 100644
--- a/src/cmd/go/build.go
+++ b/src/cmd/go/build.go
@@ -2324,7 +2324,7 @@ func (b *builder) cgo(p *Package, cgoExe, obj string, gccfiles, gxxfiles, mfiles
// systems likely to support it, which is to say, systems that
// normally use gold or the GNU linker.
switch goos {
- case "android", "dragonfly", "linux", "netbsd", "openbsd":
+ case "android", "dragonfly", "linux", "netbsd":
ldflags = append(ldflags, "-Wl,--build-id=none")
}