mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 20:08:43 -04:00
Don’t want to wait https://bugs.gentoo.org/917254 to bump it Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
17 lines
587 B
Diff
17 lines
587 B
Diff
This patch cannot be upstreamed in this form. However, the following
|
|
issue has been opened to discuss integrating a better solution upstream.
|
|
|
|
https://github.com/cloudflare/cfssl/issues/1062
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 10a52fc..7fc019b 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,5 +1,4 @@
|
|
-VERSION := $(shell git describe --tags --abbrev=0 | tr -d '[:alpha:]')
|
|
-LDFLAGS := "-s -w -X github.com/cloudflare/cfssl/cli/version.version=$(VERSION)"
|
|
+LDFLAGS := "-X github.com/cloudflare/cfssl/cli/version.version=$(VERSION)"
|
|
|
|
export GOFLAGS := -mod=vendor
|
|
export GOPROXY := off
|