Commit 5ecbdb04 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 3a3f8993
......@@ -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")
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment