summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatthew Gamble2023-01-02 15:40:16 +1100
committerMatthew Gamble2023-01-02 15:40:16 +1100
commit5d16ca4a4a570beb13765477d9db5349b34eadcc (patch)
tree82dfde816c59eb6598e3234edb961700c359af62 /PKGBUILD
parent4ca4d5ad385f31712e94054a9bc11abe76a6e1a5 (diff)
downloadaur-5d16ca4a4a570beb13765477d9db5349b34eadcc.tar.gz
Packaging fixes
It just doesn't work with LTO turned on :(
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e1c977e4ca15..a3a2d1ce381e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ url="https://github.com/creativeprojects/resticprofile"
license=("GPL3")
depends=("glibc" "restic")
makedepends=("go")
+options=(!lto)
source=("https://github.com/creativeprojects/resticprofile/archive/v${pkgver}.tar.gz")
sha256sums=("304c370965735be61d0947d13bef18099a9cc1754bb7bd38350f690c057e808d")
@@ -25,7 +26,6 @@ build() {
LC_ALL=C _build_date="$(date)"
- #go mod vendor
go build -o resticprofile -v -ldflags "-X 'main.commit=${_commit_hash}' -X 'main.date=${_build_date}' -X 'main.builtBy=makepkg'"
}