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

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

src/cmd/go/build.go

index 88c2e2949008816b3220a196aa08618ef0de9a62..00df6b2915344957941e8f0c80c7e8990c9ff1ba 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", "linux", "netbsd", "openbsd":
+       case "android", "dragonfly", "linux", "netbsd":
                ldflags = append(ldflags, "-Wl,--build-id=none")
        }