From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/9] Config: Set some Go environment variables Date: Thu, 16 Apr 2020 19:27:06 +0000 Message-ID: <20200416192714.25542-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0628587479048734271==" List-Id: --===============0628587479048734271== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- lfs/Config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lfs/Config b/lfs/Config index a278b0155..26d463112 100644 --- a/lfs/Config +++ b/lfs/Config @@ -117,8 +117,18 @@ ifeq "$(BUILD_ARCH)" "aarch64" endif =20 # Go +export GOARCH +export GOOS =3D linux export GOPATH =3D $(HOME)/gopath =20 +ifeq "$(BUILD_ARCH)" "x86_64" + GOARCH =3D amd64 +endif + +ifeq "$(BUILD_ARCH)" "aarch64" + GOARCH =3D arm64 +endif + ############################################################################= ### # Common Macro Definitions ############################################################################= ### --=20 2.20.1 --===============0628587479048734271==--