diff options
author | BarbUk | 2022-09-25 09:38:02 +0200 |
---|---|---|
committer | BarbUk | 2022-09-25 09:38:02 +0200 |
commit | db9dd21dad24a78dd332de592b19b080dfceee4d (patch) | |
tree | 0bbac7ccff8903240ed8124518bf4f0349761a25 | |
parent | 93af100d5727ab20167fe7ca8a3ad81e6d1cfb1b (diff) | |
download | aur-db9dd21dad24a78dd332de592b19b080dfceee4d.tar.gz |
Make go binary use FULL RELRO
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = hostctl pkgdesc = Command-line tool to manage your hosts file pkgver = 1.1.3 - pkgrel = 3 + pkgrel = 4 url = https://github.com/guumaster/hostctl arch = x86_64 license = MIT @@ -2,7 +2,7 @@ pkgname=hostctl pkgver=1.1.3 -pkgrel=3 +pkgrel=4 pkgdesc='Command-line tool to manage your hosts file' arch=('x86_64') url='https://github.com/guumaster/hostctl' @@ -19,7 +19,7 @@ build() { -buildmode=pie \ -mod=readonly \ -modcacherw \ - -ldflags "-X github.com/guumaster/hostctl/cmd/hostctl/actions.version=$pkgver -s -w -extldflags $LDFLAGS" \ + -ldflags "-X github.com/guumaster/hostctl/cmd/hostctl/actions.version=$pkgver -linkmode external -extldflags \"${LDFLAGS}\"" \ -o $pkgname cmd/hostctl/main.go } |