Configure Portage to cross-compile Go

Portage does not set the `GOOS` and `GOARCH` environment variables by
default, which are required to cross-compile Go code.
gentoo
Dustin 2023-03-26 12:03:00 -05:00
parent e0c9689841
commit 8d3c39373f
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
GOOS=linux
GOARCH=${ARCH}

View File

@ -0,0 +1 @@
sys-devel/binutils gold