Join GitHub today
GitHub is home to over 28 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 from
cmd/cgo: gccgo doesn't seem to be respecting CGO_FLAGS
cmd/go: pass CGO_FLAGS to C compiler when compiling _cgo_main.c or gccgo
Jan 25, 2018
The workaround for the CC environment variable does seem to work for me. Any ideas what I'm doing wrong?