cmd/go: allow passing -U flag in cgo CFLAGS #34730
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, the version seems to be latest
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Include line:
#cgo CFLAGS: -Ufoo_bar
into go source codeWhat did you expect to see?
Compilation with
go build
should pass.What did you see instead?
go build
terminates with error:invalid flag in #cgo CFLAGS: -Ufoo_bar
The text was updated successfully, but these errors were encountered: