diff options
author | caltlgin | 2020-08-13 15:21:31 +1200 |
---|---|---|
committer | caltlgin | 2020-08-13 15:21:31 +1200 |
commit | bf0c61bf76969c186ad6b0d4ea9ba285b5623484 (patch) | |
tree | b54e4f075f67f002038a211f773cd3fc6969fae8 | |
parent | 3cc7f68a168d35ea01164875f0b47d65d560e64f (diff) | |
download | aur-bf0c61bf76969c186ad6b0d4ea9ba285b5623484.tar.gz |
Update GOFLAGS
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,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}" |