~kota/gemgen

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Added a GOFLAGS to Makefile

Details
Message ID
<20210813180152.224666-1-ben@benaaron.dev>
DKIM signature
missing
Download raw message
Patch: +1 -1
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
Details
Message ID
<CDJK88I0Y4BH.JWKSAROJHDYX@agar>
In-Reply-To
<20210813180152.224666-1-ben@benaaron.dev> (view parent)
DKIM signature
missing
Download raw message
Merged. Thanks!
Reply to thread Export thread (mbox)