diff options
author | caltlgin | 2020-08-13 15:23:30 +1200 |
---|---|---|
committer | caltlgin | 2020-08-13 15:23:30 +1200 |
commit | b9a12e8de7b5a5b9725032e8fcb664bb8d936828 (patch) | |
tree | 6663c45a05e6e46ba24bbc38c3bb15aeafe79825 | |
parent | aa0cdd53f92e0662ae7eeb775b0d0d892e49d421 (diff) | |
download | aur-b9a12e8de7b5a5b9725032e8fcb664bb8d936828.tar.gz |
Update GOFLAGS
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |