From fbba49f6c2119f686a08bb87d2ba30d1ec37ea64 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 7 Aug 2014 15:05:20 -0700 Subject: cmd/go: don't pass --buildid=none on OpenBSD According to the OpenBSD builder, it doesn't work. TBR=bradfitz CC=golang-codereviews https://codereview.appspot.com/126830043 --- src/cmd/go/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go index 88c2e2949..00df6b291 100644 --- a/src/cmd/go/build.go +++ b/src/cmd/go/build.go @@ -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") } -- cgit v1.2.1