Disable LTO for spot-client

This commit is contained in:
Daniel Peukert 2022-03-08 12:33:21 +01:00
parent e42e5c4565
commit 9630b254ce
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@ pkgbase = spot-client-git
optdepends = org.freedesktop.secrets
provides = spot-client
conflicts = spot-client
options = !lto
source = spot-client-git::git+https://github.com/xou816/spot
source = disable-clippy.patch
sha512sums = SKIP

View file

@ -14,6 +14,7 @@ makedepends=('cargo' 'git' 'meson>=0.50.0')
checkdepends=('appstream-glib')
provides=("$_projectname-client")
conflicts=("$_projectname-client")
options=('!lto') # build breaks with LTO enabled (https://gitlab.com/dpeukert/pkgbuilds/-/issues/38)
source=(
"$pkgname::git+$url"
'disable-clippy.patch'