From 43fd59f77f84c324a5d026e151136e3bdc9a90ef Mon Sep 17 00:00:00 2001 From: "Fredrik A. Madsen-Malmo" Date: Fri, 30 Aug 2024 15:16:50 +0200 Subject: [PATCH] fix: override GOARCH for AMD builds as well as ARM (#74) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6aae78e..4bda085 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,9 @@ install-dependencies: .PHONY: release release: - make BIN_NAME=gatewayapi-plugin-darwin-amd64 GOOS=darwin gatewayapi-plugin-build + make BIN_NAME=gatewayapi-plugin-darwin-amd64 GOOS=darwin GOARCH=amd64 gatewayapi-plugin-build make BIN_NAME=gatewayapi-plugin-darwin-arm64 GOOS=darwin GOARCH=arm64 gatewayapi-plugin-build - make BIN_NAME=gatewayapi-plugin-linux-amd64 GOOS=linux gatewayapi-plugin-build + make BIN_NAME=gatewayapi-plugin-linux-amd64 GOOS=linux GOARCH=amd64 gatewayapi-plugin-build make BIN_NAME=gatewayapi-plugin-linux-arm64 GOOS=linux GOARCH=arm64 gatewayapi-plugin-build make BIN_NAME=gatewayapi-plugin-windows-amd64.exe GOOS=windows gatewayapi-plugin-build