diff options
author | Frederik Schwan | 2020-09-07 19:07:30 +0200 |
---|---|---|
committer | Frederik Schwan | 2020-09-07 19:07:30 +0200 |
commit | ead228c7de75fa6f719a252a1b6cb6de93e63a89 (patch) | |
tree | 30191efb4045805bd39170e77f74065b25d8caa5 | |
parent | 00264774c46c6148397d74b929ab1ce2e7823a03 (diff) | |
download | aur-ead228c7de75fa6f719a252a1b6cb6de93e63a89.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 . } |