summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-08-13 15:23:30 +1200
committercaltlgin2020-08-13 15:23:30 +1200
commitb9a12e8de7b5a5b9725032e8fcb664bb8d936828 (patch)
tree6663c45a05e6e46ba24bbc38c3bb15aeafe79825
parentaa0cdd53f92e0662ae7eeb775b0d0d892e49d421 (diff)
downloadaur-b9a12e8de7b5a5b9725032e8fcb664bb8d936828.tar.gz
Update GOFLAGS
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fff45e6ed2ce..4f1302d87a02 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}/v2"