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>
This commit is contained in:
Geoff Levand 2016-05-26 18:21:33 +00:00 committed by Thomas Petazzoni
parent 86b0f0e685
commit 18ce12f0e1

View File

@ -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 = \