fix build for '-arm'
parent
31f9ab55b4
commit
c4437578bb
2
Makefile
2
Makefile
|
@ -240,7 +240,7 @@ ifeq ($(MINIKUBE_BUILD_IN_DOCKER),y)
|
||||||
$(call DOCKER,$(BUILD_IMAGE),/usr/bin/make $@)
|
$(call DOCKER,$(BUILD_IMAGE),/usr/bin/make $@)
|
||||||
else
|
else
|
||||||
$(if $(quiet),@echo " GO $@")
|
$(if $(quiet),@echo " GO $@")
|
||||||
$(Q)GOOS="$(firstword $(subst -, ,$*))" GOARCH="$(lastword $(subst -, ,$(subst $(IS_EXE), ,$*)))" $(if $(call eq,$(lastword $(subst -, ,$(subst $(IS_EXE), ,$*))),arm),GOARM=$(GOARM))\
|
$(Q)GOOS="$(firstword $(subst -, ,$*))" GOARCH="$(lastword $(subst -, ,$(subst $(IS_EXE), ,$*)))" $(if $(call eq,$(lastword $(subst -, ,$(subst $(IS_EXE), ,$*))),arm),GOARM=$(GOARM)) \
|
||||||
go build -tags "$(MINIKUBE_BUILD_TAGS)" -ldflags="$(MINIKUBE_LDFLAGS)" -a -o $@ k8s.io/minikube/cmd/minikube
|
go build -tags "$(MINIKUBE_BUILD_TAGS)" -ldflags="$(MINIKUBE_LDFLAGS)" -a -o $@ k8s.io/minikube/cmd/minikube
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue