set GOARCH & GOARM in Makefile

This commit is contained in:
Kwitsch 2022-10-21 23:59:35 +02:00
parent ad16d3d31f
commit 3a525aad6a
1 changed files with 3 additions and 1 deletions

View File

@ -8,8 +8,10 @@ DOCKER_IMAGE_NAME=spx01/blocky
BINARY_NAME:=blocky
BIN_OUT_DIR?=bin
GO_BUILD_FLAGS?=-v
GOARCH?=$(shell go env GOARCH)
GOARM?=$(shell go env GOARM)
GO_BUILD_FLAGS?=-v
GO_BUILD_LD_FLAGS:=\
-w \
-s \