[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
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
clean:
--
2.32.0
Merged. Thanks!