Closed Tricky1975 closed 6 years ago
go build github.com/andlabs/ui
results into:
go build github.com/andlabs/ui: invalid flag in #cgo LDFLAGS: -mmacosx-version-min=10.8
MacOS version: 10.12.6 (Sierra) Go version: go version go1.10 darwin/amd64
It used to work in older Go versions
The Go team is working on fixing this.
Ah so this is an issue in Go itself?
Yes, it's the result of a security fix. Try setting CGO_LDFLAGS_ALLOWED.
CGO_LDFLAGS_ALLOWED
Thank you, I will investigate this ;)
results into:
MacOS version: 10.12.6 (Sierra) Go version: go version go1.10 darwin/amd64
It used to work in older Go versions