diff options
author | Frederik Schwan | 2020-09-07 19:11:58 +0200 |
---|---|---|
committer | Frederik Schwan | 2020-09-07 19:11:58 +0200 |
commit | b581fa1c50caf3abd134316611264b7dc8b43a12 (patch) | |
tree | 3b68ecc959cb04f41eae88385804dcd4f2595030 | |
parent | 8ec38e6e9167b945391ed06d9853454503261057 (diff) | |
download | aur-b581fa1c50caf3abd134316611264b7dc8b43a12.tar.gz |
update GOFLAGS for go 1.15
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ build() { export CGO_CFLAGS="${CFLAGS}" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" go build . } |