summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122023-10-10 20:13:52 +0200
committerwillemw122023-10-10 20:13:52 +0200
commit2463617f5488d73d93ef0cf618eabb977c9553a4 (patch)
tree154e915e39e1aaa07dba70c16338c3c00d772b79
parentedccee0c48bbdd78dc9e50b0f0e7b7dbcc448ff4 (diff)
downloadaur-2463617f5488d73d93ef0cf618eabb977c9553a4.tar.gz
Disable LTO compile option
Avoid build errors for systems with LTO enabled
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 822be5bd2c7f..5a2d65f2dd14 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = wttrbar-git
makedepends = git
provides = wttrbar
conflicts = wttrbar
+ options = !lto
source = wttrbar-git::git+https://github.com/bjesus/wttrbar.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 1ffd9106050d..182f826bbb88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ license=(MIT)
makedepends=(cargo git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
+options=(!lto)
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')