diff options
author | caltlgin | 2020-08-13 15:22:27 +1200 |
---|---|---|
committer | caltlgin | 2020-08-13 15:22:27 +1200 |
commit | d778c7e4e7d629f1b9548f8a7367888abcfdb04d (patch) | |
tree | a5195e35f690b5b28fd9bb5e1d150c0310d2826c | |
parent | 19350ca894783f6c0babd1bbf8cd0ab5a97c6ec4 (diff) | |
download | aur-d778c7e4e7d629f1b9548f8a7367888abcfdb04d.tar.gz |
Update GOFLAGS
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,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}" |