mirror of https://github.com/golang/go.git
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:
parent
3a3f8993ce
commit
5ecbdb049b
|
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue