Skip to content

Commit

Permalink
test: golang-crossbuild native to ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Mar 3, 2025
1 parent ba68a24 commit c2885b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ BUILDMODE_darwin_amd64=-buildmode=pie
BUILDMODE_darwin_arm64=-buildmode=pie

CROSSBUILD_SUFFIX=main-debian11
CROSSBUILD_ARM_SUFFIX=base-arm-debian9
STANDALONE_DOCKERFILE=Dockerfile
BUILDER_IMAGE=fleet-server-builder:${GO_VERSION}

Expand Down Expand Up @@ -312,7 +313,7 @@ endif

build-releaser: ## - Build a Docker image to run make package including all build tools
ifeq ($(shell uname -p),arm)
$(eval SUFFIX := arm)
$(eval SUFFIX := ${CROSSBUILD_ARM_SUFFIX})
else
$(eval SUFFIX := ${CROSSBUILD_SUFFIX})
endif
Expand Down

0 comments on commit c2885b8

Please sign in to comment.