diff options
author | caltlgin | 2020-08-13 15:24:14 +1200 |
---|---|---|
committer | caltlgin | 2020-08-13 15:24:14 +1200 |
commit | 055b973b8a60dcc2dc71118c12321e5e117f3e80 (patch) | |
tree | 3b569fa188abe66cf22b7383c565409cd0e6bbfb /PKGBUILD | |
parent | 98ffc26d626b1d1457ae3acff431b38b1278fc8d (diff) | |
download | aur-055b973b8a60dcc2dc71118c12321e5e117f3e80.tar.gz |
Update GOFLAGS
Diffstat (limited to 'PKGBUILD')
-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}" |