aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Geoff Levand <geoff@infradead.org>2016-05-26 18:21:33 +0000
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-05-26 21:04:43 +0200
commit18ce12f0e1c54cc8d3b13063fbb0665c5554b474 (patch)
tree76fb3f2c01f4dfdc3fb02df087aed083634a8558
parent86b0f0e68553eb5019f23ebfd4ac29c13149c882 (diff)
downloadbuildroot-18ce12f0e1c54cc8d3b13063fbb0665c5554b474.tar.gz
buildroot-18ce12f0e1c54cc8d3b13063fbb0665c5554b474.tar.bz2
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 <geoff@infradead.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/flannel/flannel.mk2
1 files changed, 1 insertions, 1 deletions
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 = \