git: 42fd268cb590 - main - Mk/Uses/go.mk: Add GOAMD64 to the GO_ENV

From: Dmitri Goutnik <dmgk_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 18:06:41 UTC
The branch main has been updated by dmgk:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42fd268cb590ab1d7668d5a51b7533067664c699

commit 42fd268cb590ab1d7668d5a51b7533067664c699
Author:     Dmitri Goutnik <dmgk@FreeBSD.org>
AuthorDate: 2022-07-09 13:38:45 +0000
Commit:     Dmitri Goutnik <dmgk@FreeBSD.org>
CommitDate: 2022-07-09 18:04:28 +0000

    Mk/Uses/go.mk: Add GOAMD64 to the GO_ENV
    
    This passes GOAMD64 to the build and test targets.
---
 Mk/Uses/go.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk
index b707b8f4c676..97d370329002 100644
--- a/Mk/Uses/go.mk
+++ b/Mk/Uses/go.mk
@@ -118,6 +118,7 @@ GO_WRKDIR_BIN=	${WRKDIR}/bin
 GO_ENV+=	CGO_ENABLED=${CGO_ENABLED} \
 		CGO_CFLAGS="${CGO_CFLAGS}" \
 		CGO_LDFLAGS="${CGO_LDFLAGS}" \
+		GOAMD64=${GOAMD64} \
 		GOARM=${GOARM}
 
 .  if ${go_ARGS:Mmodules}