Date: Monday, May 18, 2020 @ 17:45:41
  Author: foxxx0
Revision: 629591

upgpkg: consul 1.7.3-2

add missing -mod=readonly

Modified:
  consul/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-05-18 17:45:34 UTC (rev 629590)
+++ PKGBUILD    2020-05-18 17:45:41 UTC (rev 629591)
@@ -3,7 +3,7 @@
 
 pkgname=consul
 pkgver=1.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool for service discovery, monitoring and configuration."
 arch=('x86_64')
 url="https://www.consul.io";
@@ -33,7 +33,7 @@
 export CGO_CPPFLAGS="${CPPFLAGS}"
 export CGO_CXXFLAGS="${CXXFLAGS}"
 # consul is incompatible with -buildmode=pie
-export GOFLAGS="-trimpath -modcacherw"
+export GOFLAGS="-trimpath -mod=readonly -modcacherw"
 
 export GOOS='linux'
 export GOARCH='amd64'

Reply via email to