Added a GOFLAGS to Makefile v1 APPLIED

Ben Aaron Goldberg: 1
 Added a GOFLAGS to Makefile

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kota/gemgen/patches/24370/mbox | git am -3
Learn more about email & git

[PATCH] Added a GOFLAGS to Makefile Export this patch

This allows users/packages to add additional compiler flags

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index b689b9c..2acad9a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ include config.mk
all: clean build

	go build -ldflags "-X main.Version=$(VERSION)"
	go build -ldflags "-X main.Version=$(VERSION)" $(GOFLAGS)
	scdoc < gemgen.1.scd | sed "s/VERSION/$(VERSION)/g" > gemgen.1

Merged. Thanks!