diff options
author | Mark Wagie | 2020-06-01 11:11:01 -0600 |
---|---|---|
committer | Mark Wagie | 2020-06-01 11:11:01 -0600 |
commit | 756f915571c28b4216ee5b33cf320da92b60fe15 (patch) | |
tree | 50453d653ef3ceabc798592f7484be2eebecc24b | |
parent | 4bd5760d8667b54048a0b5477d4c82fd5ab055b2 (diff) | |
download | aur-756f915571c28b4216ee5b33cf320da92b60fe15.tar.gz |
update build flags according to guidelines
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = cheat-git pkgdesc = Allows you to create and view interactive cheatsheets on the command-line pkgver = 3.10.1.r0.g8e602b0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cheat/cheat arch = any license = MIT @@ -4,7 +4,7 @@ # Contributor: Quan Guo <guotsuan@gmail.com> pkgname=cheat-git pkgver=3.10.1.r0.g8e602b0 -pkgrel=1 +pkgrel=2 pkgdesc="Allows you to create and view interactive cheatsheets on the command-line" arch=('any') url="https://github.com/cheat/cheat" @@ -46,9 +46,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%-git}" "./cmd/${pkgname%-git}" # Clean mod cache for makepkg -C |