Skip to content

Commit

Permalink
cmd/go: don't pass --buildid=none on OpenBSD
Browse files Browse the repository at this point in the history
According to the OpenBSD builder, it doesn't work.

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/126830043
  • Loading branch information
ianlancetaylor committed Aug 7, 2014
1 parent 7aa4e5a commit 750bf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/go/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

Expand Down

0 comments on commit 750bf48

Please sign in to comment.