From b4d798005ed05328645f20689010fc01f6fb99f5 Mon Sep 17 00:00:00 2001 From: clawbot Date: Thu, 1 Oct 2026 22:49:44 +0000 Subject: [PATCH] Remove BUILDARCH from the Makefile (closes #107) The Makefile passed the build architecture in through -X main.Buildarch, but no Buildarch variable exists in the code, so the flag set nothing. The architecture is available at run time from runtime.GOARCH and does not need to be passed in at build time. Model: opus-5-5 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 67ceb3e..32da77d 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,7 @@ BINARY := neoircd VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev") -BUILDARCH := $(shell go env GOARCH) -LDFLAGS := -X main.Version=$(VERSION) -X main.Buildarch=$(BUILDARCH) +LDFLAGS := -X main.Version=$(VERSION) all: check build