Subject: [PATCH PKGBUILDs] Disable LTO

From: Thorben Günther <[email-masked]>
Date: Sat, 9 Dec 2023 03:44:58 +0100

---
This does not build otherwise in a chroot with aurutils.

 pushgateway/PKGBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pushgateway/PKGBUILD b/pushgateway/PKGBUILD
index f09b3c9..ee17922 100644
--- a/pushgateway/PKGBUILD
+++ b/pushgateway/PKGBUILD
@@ -3,13 +3,14 @@

 pkgname=pushgateway
 pkgver=1.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Prometheus push acceptor for ephemeral and batch jobs."
 arch=('x86_64')
 url="https://github.com/prometheus/pushgateway"
 license=('Apache')
 depends=('glibc')
 makedepends=('go' 'git')
+options=('!lto')
 source=("https://github.com/prometheus/pushgateway/archive/v${pkgver}.tar.gz"
 	"pushgateway.service")

base-commit: bf01998025e3dc6e37372d51679b4fec2da909a5
--
2.43.0