From: Geoff Levand Date: Thu, 26 May 2016 18:21:33 +0000 (+0000) Subject: package/flannel: Use HOST_GO_TARGET_ENV X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18ce12f0e1c54cc8d3b13063fbb0665c5554b474;p=buildroot.git package/flannel: Use HOST_GO_TARGET_ENV Use the newly added HOST_GO_TARGET_ENV variable to pickup the correct go environment for package builds. Signed-off-by: Geoff Levand Signed-off-by: Thomas Petazzoni --- diff --git a/package/flannel/flannel.mk b/package/flannel/flannel.mk index 876efe69a7..b5f61a01b9 100644 --- a/package/flannel/flannel.mk +++ b/package/flannel/flannel.mk @@ -14,9 +14,9 @@ FLANNEL_LICENSE_FILES = LICENSE FLANNEL_DEPENDENCIES = host-go FLANNEL_MAKE_ENV = \ + $(HOST_GO_TARGET_ENV) \ GOBIN="$(@D)/bin" \ GOPATH="$(@D)/gopath" \ - GOARCH=$(GO_GOARCH) \ CGO_ENABLED=1 FLANNEL_GLDFLAGS = \