summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4a04bcf57d1..1e993ef7ad02 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index e77d197f46fb..c91811a73a88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}