Re: [gentoo-dev] [PATCH] eclass/go-env.eclass: add helper to set compile env

2023-11-07 Thread Sam James
James Le Cuirot writes: > From: Thilo Fromm > > This change adds a helper function to explicitly set CC, CXX, and > GOARCH, and carrying over CFLAGS, LDFLAGS and friends to CGO > equivalents, to provide a minimal sane compile environment for Go. > It enables Go builds to play nice with

[gentoo-dev] [PATCH] eclass/go-env.eclass: add helper to set compile env

2023-11-01 Thread James Le Cuirot
From: Thilo Fromm This change adds a helper function to explicitly set CC, CXX, and GOARCH, and carrying over CFLAGS, LDFLAGS and friends to CGO equivalents, to provide a minimal sane compile environment for Go. It enables Go builds to play nice with crossdev's wrappers for emerge/ebuild etc.