From ec38ccf6812c53d8e5b65cad79b4c3d848f28b6c Mon Sep 17 00:00:00 2001 From: Itsigo Date: Sat, 22 Nov 2025 20:50:43 +0100 Subject: [PATCH] linux build flags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8e03b37..5e09de1 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ run: build: @templ generate @sqlc generate - @go build -o tmp/main cmd/api/main.go + @GOAMD64="v1" GOARCH="amd64" GOOS="linux" go build -ldflags="-s -w" -o tmp/main cmd/api/main.go setup: @command -v templ >/dev/null 2>&1 || { \