Evaluate setting CGO_CFLAGS (and related) to Fedora standards #67

Open
opened 2026-04-30 18:12:26 +00:00 by buckaroogeek · 0 comments

CGO_CFLAGS, CGO_LDFLAGS and other related CGO_ environment variables for C++ and Fortran are not set in the Fedora build environment. Many upstream Go based projects such as those from the Kubernetes and Docker teams incorporate C or other code. Exporting these environment variables with default Fedora values would help set a build environment for Go packages that has consistent Fedora settings.

Impact analysis needed per comment from @gotmax.

CGO_CFLAGS, CGO_LDFLAGS and other related CGO_ environment variables for C++ and Fortran are not set in the Fedora build environment. Many upstream Go based projects such as those from the Kubernetes and Docker teams incorporate C or other code. Exporting these environment variables with default Fedora values would help set a build environment for Go packages that has consistent Fedora settings. Impact analysis needed per comment from @gotmax.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
go/sig#67
No description provided.