Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make.defaults, go-env.eclass: export cgo flags, enable cgo by default
This change adds exporting CGO_* flags to go-env.eclass; the upstream pr gentoo/gentoo#33539 has been updated accordingly. Also, CGO_ENABLED=1 has been added to coreos/../make.conf to enable gco by default. This fixes a build issue for arm64 with Docker's device-mapper storage driver: daemon/graphdriver/devmapper/deviceset.go:306:25: undefined: devicemapper.SetTransactionID ... daemon/graphdriver/devmapper/deviceset.go:867:28: undefined: devicemapper.ErrEnxio daemon/graphdriver/devmapper/deviceset.go:867:28: too many errors gco is enabled on AMD64 by default, and cgo was always enabled in the coreos docker ebuilds. This way we retain that setting for the Gentoo ebuilds.
- Loading branch information