summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorcaltlgin2020-08-13 15:22:58 +1200
committercaltlgin2020-08-13 15:22:58 +1200
commit79deb43407ec8372d7511e1345121dd76793831c (patch)
tree37adcc28a695c8ccbae603827a4aed944defcbad /PKGBUILD
parentc67376c9d05ec2a612b07501a365b44b0ca74f36 (diff)
downloadaur-79deb43407ec8372d7511e1345121dd76793831c.tar.gz
Update GOFLAGS
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1ce279a5065e..7a2ab5db8daf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
export GOPATH="${srcdir}"
cd "${pkgname}-${pkgver}"