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:
parent
86b0f0e685
commit
18ce12f0e1
@ -14,9 +14,9 @@ FLANNEL_LICENSE_FILES = LICENSE
|
|||||||
FLANNEL_DEPENDENCIES = host-go
|
FLANNEL_DEPENDENCIES = host-go
|
||||||
|
|
||||||
FLANNEL_MAKE_ENV = \
|
FLANNEL_MAKE_ENV = \
|
||||||
|
$(HOST_GO_TARGET_ENV) \
|
||||||
GOBIN="$(@D)/bin" \
|
GOBIN="$(@D)/bin" \
|
||||||
GOPATH="$(@D)/gopath" \
|
GOPATH="$(@D)/gopath" \
|
||||||
GOARCH=$(GO_GOARCH) \
|
|
||||||
CGO_ENABLED=1
|
CGO_ENABLED=1
|
||||||
|
|
||||||
FLANNEL_GLDFLAGS = \
|
FLANNEL_GLDFLAGS = \
|
||||||
|
Loading…
Reference in New Issue
Block a user