mirror of https://github.com/containers/podman.git
Merge pull request #26326 from ninja-quokka/makefile2
Remove bin/podman.cross Make target
This commit is contained in:
commit
8ab61adc67
12
Makefile
12
Makefile
|
@ -482,18 +482,6 @@ ifneq ($(GOOS),darwin)
|
|||
$(GOCMD) generate ./pkg/bindings/... ;
|
||||
endif
|
||||
|
||||
# DO NOT USE: use local-cross instead
|
||||
bin/podman.cross.%:
|
||||
TARGET="$*"; \
|
||||
GOOS="$${TARGET%%.*}"; \
|
||||
GOARCH="$${TARGET##*.}"; \
|
||||
CGO_ENABLED=0 \
|
||||
$(GO) build \
|
||||
$(BUILDFLAGS) \
|
||||
$(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' \
|
||||
-tags '$(BUILDTAGS_CROSS)' \
|
||||
-o "$@" ./cmd/podman
|
||||
|
||||
.PHONY: local-cross
|
||||
local-cross: $(CROSS_BUILD_TARGETS) ## Cross compile podman binary for multiple architectures
|
||||
|
||||
|
|
Loading…
Reference in New Issue