summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2019-10-20 18:20:09 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2019-10-20 18:20:09 +0800
commit56d2470bcc71b20bca7345ef0ee4563a425cb20e (patch)
tree47304818855a414dd29a8e8f3b3c574f81c4871b
parentAdd net-misc/cloudflared 2019.10.2 (diff)
downloadpigfoot-56d2470bcc71b20bca7345ef0ee4563a425cb20e.tar.gz
pigfoot-56d2470bcc71b20bca7345ef0ee4563a425cb20e.tar.bz2
pigfoot-56d2470bcc71b20bca7345ef0ee4563a425cb20e.zip
[net-misc/cloudflared] refine#1
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
-rw-r--r--net-misc/cloudflared/cloudflared-2019.10.2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/cloudflared/cloudflared-2019.10.2.ebuild b/net-misc/cloudflared/cloudflared-2019.10.2.ebuild
index e3275de..407aed5 100644
--- a/net-misc/cloudflared/cloudflared-2019.10.2.ebuild
+++ b/net-misc/cloudflared/cloudflared-2019.10.2.ebuild
@@ -28,7 +28,7 @@ src_compile() {
GOCACHE="${T}/go-cache" \
CGO_ENABLED=0 \
GO111MODULE=off \
- go install -v -work -x ${build_flags} ${EGO_PN}/cmd/...
+ go install -v -work -x ${build_flags} -ldflags "-X \"main.Version=${PV}\" -X \"main.BuildTime=$(date -u '+%Y-%m-%d-%H%M UTC')\"" ${EGO_PN}/cmd/...
echo "$@"
"$@" || die
}