remove Buildarch from globals - is available at runtime

This commit is contained in:
2026-01-11 04:05:11 -08:00
parent f7ab09c2c3
commit 4d746027dc
4 changed files with 8 additions and 16 deletions

View File

@@ -4,7 +4,6 @@ VERSION := $(shell git describe --always --dirty=-dirty)
ARCH := $(shell uname -m)
UNAME_S := $(shell uname -s)
GOLDFLAGS += -X main.Version=$(VERSION)
GOLDFLAGS += -X main.Buildarch=$(ARCH)
GOFLAGS := -ldflags "$(GOLDFLAGS)"
default: clean debug