diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index e71dfdb..b6078f3 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -7,6 +7,10 @@ pkgdesc="Package manager for the bread ecosystem" arch=('x86_64') url="https://github.com/Breadway/bread-ecosystem" license=('MIT') +# Some Rust deps (ring/mlua) build vendored C/asm into static archives; makepkg's +# default -flto=auto emits GCC LTO bitcode the Rust (lld) link cannot read, +# causing undefined-symbol errors. Disable LTO. +options=(!lto) depends=('glibc' 'gcc-libs') makedepends=('rust' 'cargo') source=("${pkgname}-${pkgver}.tar.gz")