diff options
author | Adam Goldsmith | 2020-04-08 21:22:47 -0400 |
---|---|---|
committer | Adam Goldsmith | 2020-04-08 21:22:47 -0400 |
commit | ea23a96ae8da46cf0bf3b7baa3dc306fc2b16feb (patch) | |
tree | 0b224f8a7dc200b007e83e5ba17e2087bc03224d | |
parent | 890a84651887f3ba245da6b4cbd47f22dc048a5e (diff) | |
download | aur-ea23a96ae8da46cf0bf3b7baa3dc306fc2b16feb.tar.gz |
Add -modcacherw argument to not break clean rebuild
-rwxr-xr-x | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -23,9 +23,10 @@ build() { export GOPATH="$srcdir"/gopath cd gopath/src/$_gourl go install \ - -trimpath \ - -ldflags "-extldflags $LDFLAGS" \ - -v ./... + -trimpath \ + -modcacherw \ + -ldflags "-extldflags $LDFLAGS" \ + -v ./... } check() { |