Skip to content

Commit

Permalink
correct name of arm64 target in make cross receipe
Browse files Browse the repository at this point in the history
this was missed in 84463da and
results in the following error on `make cross`

```
make: *** No rule to make target 'out/macos-arm64/crc-admin-helper', needed by 'cross'.  Stop.
```
  • Loading branch information
anjannath committed Jun 1, 2022
1 parent 2341f2f commit cee7b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $(BUILD_DIR)/windows-amd64/$(BINARY_NAME).exe:
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -ldflags="$(LDFLAGS)" -o $(BUILD_DIR)/windows-amd64/$(BINARY_NAME).exe $(GO_BUILDFLAGS) ./cmd/admin-helper/

.PHONY: cross ## Cross compiles all binaries
cross: $(BUILD_DIR)/macos-amd64/$(BINARY_NAME) $(BUILD_DIR)/macos-arm64/$(BINARY_NAME) $(BUILD_DIR)/linux-amd64/$(BINARY_NAME) $(BUILD_DIR)/windows-amd64/$(BINARY_NAME).exe
cross: $(BUILD_DIR)/macos-amd64/$(BINARY_NAME) $(BUILD_DIR)/macos-arm64/$(BINARY_NAME)-arm64 $(BUILD_DIR)/linux-amd64/$(BINARY_NAME) $(BUILD_DIR)/windows-amd64/$(BINARY_NAME).exe

.PHONY: release
release: clean lint test cross
Expand Down

0 comments on commit cee7b23

Please sign in to comment.