1
0
mirror of https://github.com/golang/go synced 2024-11-12 10:20:27 -07:00

cmd/go: don't pass --buildid=none on OpenBSD

According to the OpenBSD builder, it doesn't work.

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/126830043
This commit is contained in:
Ian Lance Taylor 2014-08-07 15:05:20 -07:00
parent 7aa4e5ac5f
commit 750bf48a5a

View File

@ -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")
}