[arch-commits] Commit in hcloud/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Oct 14 15:55:49 UTC 2019
Date: Monday, October 14, 2019 @ 15:55:48
Author: jelle
Revision: 515722
upgpkg: hcloud 1.13.0-4
Enable full relro for hcloud by passing LDFLAGS.
Modified:
hcloud/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 15:53:30 UTC (rev 515721)
+++ PKGBUILD 2019-10-14 15:55:48 UTC (rev 515722)
@@ -4,7 +4,7 @@
_pkgname=cli
pkgname=hcloud
pkgver=1.13.0
-pkgrel=3
+pkgrel=4
pkgdesc="CLI for Hetzner Cloud"
arch=('x86_64')
url='https://github.com/hetznercloud/cli'
@@ -28,7 +28,7 @@
build(){
cd "${_pkgname}"
go build \
- -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${pkgver}" \
+ -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${pkgver} -extldflags ${LDFLAGS}" \
github.com/hetznercloud/cli/cmd/hcloud
chmod +x ./hcloud
./hcloud completion bash > "$pkgname-completion.bash"
More information about the arch-commits
mailing list