]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: don't pass --buildid=none on FreeBSD
authorIan Lance Taylor <iant@golang.org>
Thu, 7 Aug 2014 20:51:29 +0000 (13:51 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 7 Aug 2014 20:51:29 +0000 (13:51 -0700)
According to the FreeBSD builder, it doesn't work.

TBR=bradfitz
CC=golang-codereviews
https://golang.org/cl/121400043

src/cmd/go/build.go

index b39364ed891b388a45817ea7d936be33f61744bf..88c2e2949008816b3220a196aa08618ef0de9a62 100644 (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")
        }