summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Schwan2020-09-07 19:11:58 +0200
committerFrederik Schwan2020-09-07 19:11:58 +0200
commitb581fa1c50caf3abd134316611264b7dc8b43a12 (patch)
tree3b68ecc959cb04f41eae88385804dcd4f2595030
parent8ec38e6e9167b945391ed06d9853454503261057 (diff)
downloadaur-b581fa1c50caf3abd134316611264b7dc8b43a12.tar.gz
update GOFLAGS for go 1.15
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f475441d11b..9e1ce23e7a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 .
}