Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: pass CGO_FLAGS to C compiler when compiling _cgo_main.c or gccgo #23323
I'm unable to compile
What version of Go are you using (
I don't have a test environment.
changed the title
cmd/cgo: gccgo doesn't seem to be respecting CGO_FLAGS
Jan 25, 2018
The workaround for the CC environment variable does seem to work for me. Any ideas what I'm doing wrong?