diff options
author | Mark Wagie | 2020-06-01 11:09:47 -0600 |
---|---|---|
committer | Mark Wagie | 2020-06-01 11:09:47 -0600 |
commit | e06d9291e9d61410db8ff52153fbf031f8b62457 (patch) | |
tree | b05761c4ffcb286615913e025b68993bc4166403 | |
parent | 876f6c0c85def81b7395248b98cc89e900839a15 (diff) | |
download | aur-e06d9291e9d61410db8ff52153fbf031f8b62457.tar.gz |
update build flags according to guidelins
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = cheat pkgdesc = Allows you to create and view interactive cheatsheets on the command-line pkgver = 3.10.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/cheat/cheat arch = any license = MIT @@ -3,7 +3,7 @@ # Contributor: Bogdan <d0xi at inbox dot ru> pkgname=cheat pkgver=3.10.1 -pkgrel=2 +pkgrel=3 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('any') url="https://github.com/cheat/cheat" @@ -40,9 +40,11 @@ build() { -v \ -trimpath \ -buildmode=pie \ + -mod=readonly \ + -modcacherw \ -gcflags "all=-trimpath=$srcdir" \ -asmflags "all=-trimpath=$srcdir" \ - -ldflags "-extldflags $LDFLAGS" \ + -ldflags "-extldflags \"${LDFLAGS}\"" \ -o "./dist/$pkgname" "./cmd/$pkgname" # Clean mod cache for makepkg -C |