Skip to content

Commit

Permalink
Mk/Uses/go.mk: Add GOAMD64 to the GO_ENV
Browse files Browse the repository at this point in the history
This passes GOAMD64 to the build and test targets.
  • Loading branch information
dmgk committed Jul 9, 2022
1 parent 50ac8c2 commit 42fd268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mk/Uses/go.mk
Expand Up @@ -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}
Expand Down

0 comments on commit 42fd268

Please sign in to comment.