Remove BUILDARCH from the Makefile (closes #107)
check / check (push) Successful in 3m6s

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
This commit is contained in:
clawbot
2026-10-01 22:49:44 +00:00
parent f829f9e3da
commit b4d798005e
+1 -2
View File
@@ -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