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

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

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/121400043
This commit is contained in:
Ian Lance Taylor 2014-08-07 13:51:29 -07:00
parent 3a3f8993ce
commit 5ecbdb049b
1 changed files with 1 additions and 1 deletions

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", "freebsd", "linux", "netbsd", "openbsd":
case "android", "dragonfly", "linux", "netbsd", "openbsd":
ldflags = append(ldflags, "-Wl,--build-id=none")
}