Martin Rys pushed to branch main at Arch Linux / Packaging / Packages / 
tauon-music-box


Commits:
8a3027cf by Martin Rys at 2026-05-18T17:15:07+02:00
Disable LTO only for cargo

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -10,8 +10,6 @@ pkgdesc="A modern music player"
 arch=("x86_64") # "aarch64"
 url="https://tauonmusicbox.rocks";
 license=("GPL-3.0-or-later")
-# https://github.com/briansmith/ring/issues/1444 - needed to build 
lrclib-solver
-options=(!lto)
 depends=(
        "python-pillow"
        "python-pylast"
@@ -86,7 +84,6 @@ prepare() {
        cd src/lrclib-solver
        export RUSTUP_TOOLCHAIN=stable
        cargo fetch --locked --target host-tuple
-
 }
 
 build() {
@@ -97,7 +94,8 @@ build() {
        cd src/lrclib-solver
        export RUSTUP_TOOLCHAIN=stable
        export CARGO_TARGET_DIR=target
-       cargo build --frozen --release --all-features
+       # LTO disabled due to https://github.com/briansmith/ring/issues/1444
+       CFLAGS="$CFLAGS -fno-lto" cargo build --frozen --release --all-features
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tauon-music-box/-/commit/8a3027cf66a79492e9f2e3bec82645cf49bac423

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/tauon-music-box/-/commit/8a3027cf66a79492e9f2e3bec82645cf49bac423
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to