diff options
author | moson-mo | 2021-06-04 00:49:52 +0200 |
---|---|---|
committer | moson-mo | 2021-06-04 00:49:52 +0200 |
commit | 7cf1316f7c19a903fe4e65528a8a28eb5a29f599 (patch) | |
tree | c8413501e04f04fa932d9144fe12bc22cacb13c5 /PKGBUILD | |
parent | 965802ae431380e730467dfcbbdf21c9be916814 (diff) | |
download | aur-rpms.tar.gz |
fix build go 1.16
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname=rpms pkgver=1.0.3 -pkgrel=5 +pkgrel=6 pkgdesc='Renoir power metrics server' arch=('x86_64') url="https://github.com/moson-mo/$pkgname" @@ -25,7 +25,7 @@ build() { export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath" - go build -o build -ldflags "-s -w" + GO111MODULE=off go build -o build -ldflags "-s -w" } package() { |