I find the answer here: https://github.com/golang/go/wiki/InvalidFlag.
This is what I’ve done before go build:
$ export CGO_LDFLAGS_ALLOW=".*"
I find the answer here: https://github.com/golang/go/wiki/InvalidFlag.
This is what I’ve done before go build:
$ export CGO_LDFLAGS_ALLOW=".*"